15 Gen::DumpFrames::~DumpFrames()
23 log->debug(
"frame sink sees EOS");
26 auto traces = frame->traces();
27 const int ntraces = traces->size();
30 ss <<
"sink frame: #" << frame->ident()
32 <<
" with " << ntraces <<
" traces";
35 ss <<
", frame tags:[";
36 for (
auto ftag : frame->frame_tags()) {
44 ss <<
", trace tags:[";
45 for (
auto ftag : frame->trace_tags()) {
std::shared_ptr< const IFrame > pointer
virtual bool operator()(const IFrame::pointer &frame)
Do something thrilling with a frame.
logptr_t logger(std::string name)
void log(source_loc source, level::level_enum lvl, const char *fmt, const Args &...args)
#define WIRECELL_FACTORY(NAME, CONCRETE,...)