Class sink_impl
boost::stacktrack::sink_impl — destination for output of trace data doxygen
Synopsis
Description
sink_impl construct/copy/destruct
sink_impl(const char * name);
~sink_impl();
sink_impl public member functions
unsigned cycle() const;
void next_cycle() ;
void write(const scopeloc_base & b, raw_event & entry) ;
void write(const scopeloc_base & b, raw_event & entry, const std::string & ) ;
void writeInfo(raw_event & base, const std::string & str) ;
void writeBaseAndInfo(raw_event & base, const std::string & str) ;
virtual bool writable() ;
const std::string & name() const;
virtual std::string filename() const;
virtual int open() ;
virtual void close() ;
virtual void activate() ;
sink_impl public static functions
static bool logging() ;
static void logging_enable(bool on = true) ;
sink_impl protected member functions
void connected() ;
void write_prologue() ;
virtual void _next_cycle() ;
virtual void _write(raw_event & entry) ;
sink_impl protected static functions