 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_FILE_SINK_BASE_H
24 #define INCLUDED_GR_FILE_SINK_BASE_H
27 #include <boost/thread.hpp>
57 bool open(
const char* filename);
bool d_append
Definition: file_sink_base.h:45
void close()
Close current output file.
boost::mutex d_mutex
Definition: file_sink_base.h:43
file_sink_base(const char *filename, bool is_binary, bool append)
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
bool d_unbuffered
Definition: file_sink_base.h:44
bool open(const char *filename)
Open filename and begin output to it.
file_sink_base()
Definition: file_sink_base.h:51
Common base class for file sinks.
Definition: file_sink_base.h:37
FILE * d_fp
Definition: file_sink_base.h:39
boost::mutex mutex
Definition: thread.h:48
bool d_is_binary
Definition: file_sink_base.h:42
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
FILE * d_new_fp
Definition: file_sink_base.h:40
void set_unbuffered(bool unbuffered)
turn on unbuffered writes for slower outputs
bool d_updated
Definition: file_sink_base.h:41
void do_update()
if we've had an update, do it now.