16 #ifndef STREAM_RunModule
17 #define STREAM_RunModule
19 #ifndef DABC_ModuleAsync
Reference on memory from memory pool.
Represents command with its arguments.
Base class for user-derived code, implementing event-processing.
Runs code of stream framework.
void * fInitFunc
how many parallel processes to start
virtual bool ProcessRecv(unsigned port)
Method called by framework when at least one buffer available in input port.
void GenerateEOF(dabc::Buffer buf)
virtual void AfterModuleStop()
virtual void BeforeModuleStart()
virtual bool ProcessSend(unsigned)
Method called by framework when at least one buffer can be send to output port.
virtual int ExecuteCommand(dabc::Command cmd)
Main method where commands are executed.
virtual void ProcessTimerEvent(unsigned)
Method called by framework when timer event is produced.
bool ProcessNextEvent(void *evnt, unsigned evntsize)
std::string fFileUrl
! configured file URL - module used to produce output
virtual void OnThreadAssigned()
bool RedistributeBuffers()
int fDefaultFill
! default fill color for 1-D histograms
long unsigned fTotalEvnts
DabcProcMgr * fProcMgr
for central module waiting that others finish
RunModule(const std::string &name, dabc::Command cmd=nullptr)
int fStopMode
init function
void SaveHierarchy(dabc::Buffer buf)
void ProduceMergedHierarchy()
long unsigned fTotalOutEvnts
Support for stream framework in DABC