23 #ifndef INCLUDED_BLOCKS_FILE_META_SINK_H
24 #define INCLUDED_BLOCKS_FILE_META_SINK_H
74 typedef boost::shared_ptr<file_meta_sink>
sptr;
95 static sptr make(
size_t itemsize,
const std::string &filename,
96 double samp_rate=1,
double relative_rate=1,
98 size_t max_segment_size=1000000,
99 const std::string &extra_dict=
"",
100 bool detached_header=
false);
102 virtual bool open(
const std::string &filename) = 0;
103 virtual void close() = 0;
104 virtual void do_update() = 0;
106 virtual void set_unbuffered(
bool unbuffered) = 0;
Definition: file_meta_sink.h:41
Definition: file_meta_sink.h:38
const char METADATA_VERSION
Definition: file_meta_sink.h:32
Definition: file_meta_sink.h:39
Definition: file_meta_sink.h:37
Definition: file_meta_sink.h:40
Include this header to use the message passing features.
Definition: logger.h:131
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
Definition: file_meta_sink.h:36
const size_t METADATA_HEADER_SIZE
Definition: file_meta_sink.h:33
Definition: file_meta_sink.h:42
gr_file_types
Definition: file_meta_sink.h:35
Definition: file_meta_sink.h:43
BLOCKS_API size_t itemsize(vector_type type)