#include <SusiboInput.h>
Public Member Functions | |
| SusiboInput (const char *name=0, uint32_t bufsize=0x10000) | |
| virtual | ~SusiboInput () |
| virtual bool | Read_Init (const dabc::WorkerRef &wrk, const dabc::Command &cmd) |
| virtual unsigned | Read_Size () |
| virtual unsigned | Read_Complete (dabc::Buffer &buf) |
| virtual double | GetTimeout () |
Protected Member Functions | |
| bool | Init () |
| bool | Close () |
Protected Attributes | |
| int | fBoardID |
| uint32_t | fBufferSize |
| int | fMaxBufferEvents |
| int | fHitDelay |
| bool | fFormatMbs |
| bool | fTestTrigger |
| double | fTriggerPerSecond |
| double | fTimeout |
| dabc::TimeStamp | fLastTriggerTime |
| SuS::SpadicLib * | fLib |
Definition at line 20 of file SusiboInput.h.
| spadic::SusiboInput::SusiboInput | ( | const char * | name = 0, |
|
| uint32_t | bufsize = 0x10000 | |||
| ) |
Definition at line 15 of file SusiboInput.cxx.
| spadic::SusiboInput::~SusiboInput | ( | ) | [virtual] |
Definition at line 29 of file SusiboInput.cxx.
References Close().
| bool spadic::SusiboInput::Close | ( | ) | [protected] |
Definition at line 73 of file SusiboInput.cxx.
References fBoardID, and fLib.
Referenced by Init(), and ~SusiboInput().
| virtual double spadic::SusiboInput::GetTimeout | ( | ) | [inline, virtual] |
Definition at line 30 of file SusiboInput.h.
References fTimeout.
| bool spadic::SusiboInput::Init | ( | ) | [protected] |
Definition at line 50 of file SusiboInput.cxx.
References Close(), fBoardID, fBufferSize, fHitDelay, fLastTriggerTime, and fLib.
Referenced by Read_Init().
| unsigned spadic::SusiboInput::Read_Complete | ( | dabc::Buffer & | buf | ) | [virtual] |
Definition at line 93 of file SusiboInput.cxx.
References spadic::bt_Spadic, fBoardID, fFormatMbs, fLastTriggerTime, fLib, fMaxBufferEvents, fTestTrigger, fTriggerPerSecond, and SUSIBO_PACKAGE_LENGTH.
| bool spadic::SusiboInput::Read_Init | ( | const dabc::WorkerRef & | wrk, | |
| const dabc::Command & | cmd | |||
| ) | [virtual] |
Definition at line 34 of file SusiboInput.cxx.
References fBoardID, fBufferSize, fFormatMbs, fHitDelay, fMaxBufferEvents, fTestTrigger, fTimeout, fTriggerPerSecond, Init(), spadic::xmlEventsPerBuffer, spadic::xmlFormatMbs, spadic::xmlHitDelay, spadic::xmlInternalTriggerFreq, spadic::xmlSusiboDevID, spadic::xmlTimeout, and spadic::xmlUseInternalTrigger.
| unsigned spadic::SusiboInput::Read_Size | ( | ) | [virtual] |
Definition at line 88 of file SusiboInput.cxx.
References fBufferSize.
int spadic::SusiboInput::fBoardID [protected] |
Definition at line 35 of file SusiboInput.h.
Referenced by Close(), Init(), Read_Complete(), and Read_Init().
uint32_t spadic::SusiboInput::fBufferSize [protected] |
Definition at line 38 of file SusiboInput.h.
Referenced by Init(), Read_Init(), and Read_Size().
bool spadic::SusiboInput::fFormatMbs [protected] |
Definition at line 49 of file SusiboInput.h.
Referenced by Read_Complete(), and Read_Init().
int spadic::SusiboInput::fHitDelay [protected] |
Definition at line 44 of file SusiboInput.h.
Referenced by Init(), and Read_Init().
dabc::TimeStamp spadic::SusiboInput::fLastTriggerTime [protected] |
Definition at line 60 of file SusiboInput.h.
Referenced by Init(), and Read_Complete().
SuS::SpadicLib* spadic::SusiboInput::fLib [protected] |
Definition at line 62 of file SusiboInput.h.
Referenced by Close(), Init(), and Read_Complete().
int spadic::SusiboInput::fMaxBufferEvents [protected] |
Definition at line 41 of file SusiboInput.h.
Referenced by Read_Complete(), and Read_Init().
bool spadic::SusiboInput::fTestTrigger [protected] |
Definition at line 52 of file SusiboInput.h.
Referenced by Read_Complete(), and Read_Init().
double spadic::SusiboInput::fTimeout [protected] |
Definition at line 58 of file SusiboInput.h.
Referenced by GetTimeout(), and Read_Init().
double spadic::SusiboInput::fTriggerPerSecond [protected] |
Definition at line 55 of file SusiboInput.h.
Referenced by Read_Complete(), and Read_Init().
1.7.1