Common base class for file sinks.
More...
#include <gnuradio/blocks/file_sink_base.h>
Common base class for file sinks.
◆ file_sink_base() [1/2]
gr::blocks::file_sink_base::file_sink_base |
( |
const char * |
filename, |
|
|
bool |
is_binary, |
|
|
bool |
append |
|
) |
| |
|
protected |
◆ file_sink_base() [2/2]
gr::blocks::file_sink_base::file_sink_base |
( |
| ) |
|
|
inline |
◆ ~file_sink_base()
gr::blocks::file_sink_base::~file_sink_base |
( |
| ) |
|
◆ close()
void gr::blocks::file_sink_base::close |
( |
| ) |
|
Close current output file.
Closes current output file and ignores any output until open is called to connect to another file.
◆ do_update()
void gr::blocks::file_sink_base::do_update |
( |
| ) |
|
if we've had an update, do it now.
◆ open()
bool gr::blocks::file_sink_base::open |
( |
const char * |
filename | ) |
|
Open filename and begin output to it.
◆ set_unbuffered()
void gr::blocks::file_sink_base::set_unbuffered |
( |
bool |
unbuffered | ) |
|
turn on unbuffered writes for slower outputs
◆ d_append
bool gr::blocks::file_sink_base::d_append |
|
protected |
◆ d_fp
FILE* gr::blocks::file_sink_base::d_fp |
|
protected |
◆ d_is_binary
bool gr::blocks::file_sink_base::d_is_binary |
|
protected |
◆ d_mutex
boost::mutex gr::blocks::file_sink_base::d_mutex |
|
protected |
◆ d_new_fp
FILE* gr::blocks::file_sink_base::d_new_fp |
|
protected |
◆ d_unbuffered
bool gr::blocks::file_sink_base::d_unbuffered |
|
protected |
◆ d_updated
bool gr::blocks::file_sink_base::d_updated |
|
protected |
The documentation for this class was generated from the following file: