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;
96 const std::string& filename,
98 double relative_rate = 1,
101 size_t max_segment_size = 1000000,
103 bool detached_header =
false);
105 virtual bool open(
const std::string& filename) = 0;
106 virtual void close() = 0;
107 virtual void do_update() = 0;
109 virtual void set_unbuffered(
bool unbuffered) = 0;
Definition: file_meta_sink.h:41
Definition: file_meta_sink.h:38
boost::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:96
const char METADATA_VERSION
Definition: file_meta_sink.h:32
PMT_API pmt_t make_dict()
Make an empty dictionary.
Definition: file_meta_sink.h:39
Definition: file_meta_sink.h:37
Definition: file_meta_sink.h:40
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#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)