11#ifndef INCLUDED_GR_FILE_SINK_BASE_H
12#define INCLUDED_GR_FILE_SINK_BASE_H
48 bool open(
const char* filename);
Common base class for file sinks.
Definition: file_sink_base.h:26
bool d_updated
Definition: file_sink_base.h:30
bool open(const char *filename)
Open filename and begin output to it.
gr::logger_ptr d_base_debug_logger
Definition: file_sink_base.h:36
void close()
Close current output file.
void set_unbuffered(bool unbuffered)
turn on unbuffered writes for slower outputs
FILE * d_fp
Definition: file_sink_base.h:28
bool d_unbuffered
Definition: file_sink_base.h:33
bool d_is_binary
Definition: file_sink_base.h:31
gr::thread::mutex d_mutex
Definition: file_sink_base.h:32
gr::logger_ptr d_base_logger
Definition: file_sink_base.h:35
file_sink_base()
Definition: file_sink_base.h:42
file_sink_base(const char *filename, bool is_binary, bool append)
FILE * d_new_fp
Definition: file_sink_base.h:29
bool d_append
Definition: file_sink_base.h:34
void do_update()
if we've had an update, do it now.
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
boost::mutex mutex
Definition: thread.h:37
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< logger > logger_ptr
Definition: logger.h:225