Definition at line 765 of file mlogger.cxx.
◆ WriterPopen()
Definition at line 768 of file mlogger.cxx.
769 {
776 }
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
◆ ~WriterPopen()
WriterPopen::~WriterPopen |
( |
| ) |
|
|
inline |
◆ wr_close()
Implements WriterInterface.
Definition at line 857 of file mlogger.cxx.
858 {
859 int err;
860
862 printf(
"WriterPopen: close path [%s]\n",
log_chn->path.c_str());
863
865
867
868#ifdef OS_WINNT
869
871#else
874
875 if (err != 0) {
878 }
879
881
883
885#endif
886 }
double ss_file_size(const char *path)
INT cm_msg(INT message_type, const char *filename, INT line, const char *routine, const char *format,...)
◆ wr_get_chain()
std::string WriterPopen::wr_get_chain |
( |
| ) |
|
|
inlinevirtual |
◆ wr_get_file_ext()
std::string WriterPopen::wr_get_file_ext |
( |
| ) |
|
|
inlinevirtual |
◆ wr_open()
Implements WriterInterface.
Definition at line 787 of file mlogger.cxx.
788 {
791
794
796
799
800#ifdef OS_WINNT
801
803#else
805
810 }
811
813
815#endif
816 }
static bool check_file_exists(const char *filename)
◆ wr_write()
Implements WriterInterface.
Definition at line 818 of file mlogger.cxx.
819 {
821 printf(
"WriterPopen: write path [%s], size %d\n",
log_chn->path.c_str(), size);
822
823 if (size == 0)
825
828 }
829
831
833
834
835
836
839
841 cm_msg(
MERROR,
"WriterPopen::wr_write",
"Cannot write to pipe \'%s\': broken pipe, closing the pipe",
fCommand.c_str());
843 }
844
846 }
847
852 }
853
855 }
int wr_close(LOG_CHN *log_chn, int run_number)
◆ fCommand
std::string WriterPopen::fCommand |
|
private |
◆ fFileExt
std::string WriterPopen::fFileExt |
|
private |
◆ fFp
◆ fLastCheckTime
time_t WriterPopen::fLastCheckTime |
|
private |
◆ fPipeCommand
std::string WriterPopen::fPipeCommand |
|
private |
The documentation for this class was generated from the following file: