#include <gr_file_sink_base.h>
Public Member Functions | |
~gr_file_sink_base () | |
bool | open (const char *filename) |
Open filename and begin output to it. | |
void | close () |
Close current output file. | |
void | do_update () |
if we've had an update, do it now. | |
Protected Member Functions | |
gr_file_sink_base (const char *filename, bool is_binary) | |
Protected Attributes | |
FILE * | d_fp |
FILE * | d_new_fp |
bool | d_updated |
bool | d_is_binary |
omni_mutex | d_mutex |
gr_file_sink_base::gr_file_sink_base | ( | const char * | filename, | |
bool | is_binary | |||
) | [protected] |
gr_file_sink_base::~gr_file_sink_base | ( | ) |
void gr_file_sink_base::close | ( | ) |
void gr_file_sink_base::do_update | ( | ) |
if we've had an update, do it now.
bool gr_file_sink_base::open | ( | const char * | filename | ) |
Open filename and begin output to it.
FILE* gr_file_sink_base::d_fp [protected] |
bool gr_file_sink_base::d_is_binary [protected] |
omni_mutex gr_file_sink_base::d_mutex [protected] |
FILE* gr_file_sink_base::d_new_fp [protected] |
bool gr_file_sink_base::d_updated [protected] |