16 #ifndef MBS_CombinerModule
17 #define MBS_CombinerModule
19 #ifndef DABC_ModuleAsync
117 std::vector<ReadIterator>
fInp;
171 void SetInfo(
const std::string &info,
bool forceinfo =
false);
Represents command with its arguments.
Base class for user-derived code, implementing event-processing.
Combiner of several MBS inputs - event building.
void SetInfo(const std::string &info, bool forceinfo=false)
virtual unsigned int GetOverflowEventNumber() const
bool ShiftToNextEvent(unsigned ninp)
virtual int ExecuteCommand(dabc::Command cmd)
Main method where commands are executed.
CombinerModule(const std::string &name, dabc::Command cmd=nullptr)
virtual void AfterModuleStop()
mbs::EventNumType CurrEventId(unsigned int ninp) const
mbs::EventNumType fEventIdMask
used to exclude higher bits from event id Can be used when some subsystems does not provide all 32 bi...
virtual void ProcessTimerEvent(unsigned timer)
Method called by framework when timer event is produced.
virtual ~CombinerModule()
std::string fEventRateName
void ChangeFileState(bool on)
change file on/off state in application
bool fBuildCompleteEvents
virtual bool ProcessRecv(unsigned port)
Method called by framework when at least one buffer available in input port.
virtual bool ProcessSend(unsigned port)
Method called by framework when at least one buffer can be send to output port.
double fExcludeTime
Time to exclude optional input when no data comming.
mbs::EventNumType fEventIdTolerance
std::string fFileStateName
std::vector< ReadIterator > fInp
std::vector< InputCfg > fCfg
unsigned NumObligatoryInputs() const
int fSpecialTriggerLimit
Down limit for trigger number, which is recognized as special event This event is forwarded through c...
bool IsOptionalInput(unsigned ninp)
virtual void ModuleCleanup()
Method, which can be reimplemented by user and should cleanup all references on buffers and other obj...
bool ShiftToNextBuffer(unsigned ninp)
Method should be used to skip current buffer from the queue.
unsigned fNumObligatoryInputs
Indicates how many inputs should provide data that event is accepted as full Can be less than number ...
std::string fDataRateName
virtual void BeforeModuleStart()
Write iterator for MBS events/subevents.
Support for MBS - standard GSI DAQ.