|
DDASToys for NSCLDAQ
6.2-000
|
Define an event processor for DDAS data. More...
#include <CEventProcessor.h>
Public Member Functions | |
| CEventProcessor () | |
| Constructor. More... | |
| ~CEventProcessor () | |
| Destructor. | |
| int | operator() (int argc, char *argv[]) |
| Entry point for the processor. More... | |
Define an event processor for DDAS data.
The class defines a functor that can be created and invoked from main() to do the job of processing ring items from a source and handing them off to a data sink.
| CEventProcessor::CEventProcessor | ( | ) |
Constructor.
No real action occurs until the operator() is called, as all of the interesting data must be determined by parsing the command line arguments.
| int CEventProcessor::operator() | ( | int | argc, |
| char * | argv[] | ||
| ) |
Entry point for the processor.
| argc | Number of command line arguments. |
| argv | Command line arguments. |
| std::invalid_argument | If the item skip count is invalid. |
| std::invalid_argument | If the dump count is invalid. |
| ... | All other exceptions back to caller (main). |
| EXIT_SUCCESS | Processing successful. |
Here we: