#include <ReadoutModule.h>
Public Member Functions | |
ReadoutModule (const char *name, dabc::Command cmd=0) | |
virtual | ~ReadoutModule () |
virtual void | ProcessInputEvent (dabc::Port *port) |
virtual void | ProcessOutputEvent (dabc::Port *port) |
virtual void | AfterModuleStop () |
bool | getNextBuffer (void *&buf, unsigned &len, double tmout=1.) |
Protected Attributes | |
dabc::Condition | fDataCond |
dabc::Buffer | fCurrBuf |
dabc::Buffer | fNextBuf |
Definition at line 24 of file ReadoutModule.h.
roc::ReadoutModule::ReadoutModule | ( | const char * | name, | |
dabc::Command | cmd = 0 | |||
) |
Definition at line 23 of file ReadoutModule.cxx.
References roc::xmlRocPool.
roc::ReadoutModule::~ReadoutModule | ( | ) | [virtual] |
Definition at line 43 of file ReadoutModule.cxx.
void roc::ReadoutModule::AfterModuleStop | ( | ) | [virtual] |
Definition at line 47 of file ReadoutModule.cxx.
bool roc::ReadoutModule::getNextBuffer | ( | void *& | buf, | |
unsigned & | len, | |||
double | tmout = 1. | |||
) |
Definition at line 85 of file ReadoutModule.cxx.
References fCurrBuf, fDataCond, and fNextBuf.
Referenced by sp605::OpticBoard::getNextBuffer(), and roc::AbbBoard::getNextBuffer().
void roc::ReadoutModule::ProcessInputEvent | ( | dabc::Port * | port | ) | [virtual] |
Definition at line 59 of file ReadoutModule.cxx.
void roc::ReadoutModule::ProcessOutputEvent | ( | dabc::Port * | port | ) | [virtual] |
Definition at line 81 of file ReadoutModule.cxx.
dabc::Buffer roc::ReadoutModule::fCurrBuf [protected] |
Definition at line 27 of file ReadoutModule.h.
Referenced by AfterModuleStop(), and getNextBuffer().
dabc::Condition roc::ReadoutModule::fDataCond [protected] |
Definition at line 26 of file ReadoutModule.h.
Referenced by AfterModuleStop(), getNextBuffer(), and ProcessInputEvent().
dabc::Buffer roc::ReadoutModule::fNextBuf [protected] |
Definition at line 28 of file ReadoutModule.h.
Referenced by AfterModuleStop(), getNextBuffer(), and ProcessInputEvent().