11 #ifndef INCLUDED_GR_FILE_SINK_BASE_H 12 #define INCLUDED_GR_FILE_SINK_BASE_H 16 #include <boost/thread.hpp> 47 bool open(
const char* filename);
65 void set_unbuffered(
bool unbuffered);
Common base class for file sinks.
Definition: file_sink_base.h:25
boost::mutex d_mutex
Definition: file_sink_base.h:32
bool d_append
Definition: file_sink_base.h:34
FILE * d_new_fp
Definition: file_sink_base.h:29
bool d_unbuffered
Definition: file_sink_base.h:33
gr::logger_ptr d_logger
Definition: file_sink_base.h:35
file_sink_base()
Definition: file_sink_base.h:41
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
log4cpp::Category * logger_ptr
GR_LOG macrosThese macros wrap the standard LOG4CPP_LEVEL macros. The availablie macros are: LOG_DEBU...
Definition: logger.h:60
boost::mutex mutex
Definition: thread.h:37
bool d_updated
Definition: file_sink_base.h:30
FILE * d_fp
Definition: file_sink_base.h:28
bool d_is_binary
Definition: file_sink_base.h:31