Base class for an actor with N input and M output : main purpose is to structure the dataflow. More...
#include <NarvalInterface.h>
Public Member Functions | |
virtual Int_t | AttachInput (FrameBlock *, Int_t=-1) |
Attach a block as input for a given slot number. More... | |
virtual Int_t | AttachOutput (FrameBlock *, Int_t=-1) |
Attach a block as output for a given slot number. More... | |
const std::string & | GetConfPath () |
To get the algo path associated with the current actor. More... | |
virtual Int_t | GetMaxInput () const |
for this actor, it gives the max number of entry lines it can handle (max included). More... | |
virtual Int_t | GetMaxOutput () const |
for this actor, it gives the max number of output lines it can handle (max included). More... | |
virtual Int_t | GetNbInput () const |
for this actor, it gives the current number of entry lines attached. More... | |
virtual Int_t | GetNbOutput () const |
for this actor, it gives the current number of output lines attached. More... | |
UInt_t | GetPID () const |
To get the ID number for that algorithm. More... | |
NarvalShunter () | |
virtual void | process_initialise (UInt_t *error_code)=0 |
To init the internal values (real constructor) More... | |
virtual void | process_pause (UInt_t *error_code) |
This method is called every time the system pauses data acquisition. More... | |
virtual void | process_reset (UInt_t *error_code)=0 |
To reset the internal values (real destructor) More... | |
virtual void | process_resume (UInt_t *error_code) |
this method is called every time the system resumes data acquisition More... | |
virtual void | process_start (UInt_t *error_code) |
This method is called every time the daq starts. More... | |
virtual void | process_stop (UInt_t *error_code) |
This method is called every time the daq stops. More... | |
virtual UInt_t | ProcessBlocks ()=0 |
generic ProcessBlocks method for any kind of actor. Intput/Output should be attached using the AttachInput/AttachOutput methods More... | |
virtual | ~NarvalShunter () |
Static Public Member Functions | |
static std::string | GetGlobalConfPath () |
global conf path keep since passed in static method and needed in init method More... | |
static Int_t | GetGlobalParameter (const char *name, UShort_t &val) |
to get from narval a parameter () ... IS IT mandatory to have there a static method ???? More... | |
static Int_t | GetGlobalParameter (const char *name, Int_t &val) |
static Int_t | GetGlobalParameter (const char *name, std::string &val) |
static void | process_config (const Char_t *, UInt_t *, Short_t do_adf_conf=0) |
Have to be overwritten and called in your implementation. More... | |
static void | process_config (const Char_t *algo_path, UInt_t *error_code) |
static Int_t | SetGlobalParameter (const char *name, const UShort_t &) |
static Int_t | SetGlobalParameter (const char *name, const std::string &) |
Protected Member Functions | |
virtual ConfAgent * | GetConfAgent () const |
virtual Bool_t | SetNbInput (Int_t) |
virtual Bool_t | SetNbOutput (Int_t) |
Protected Attributes | |
Version | fVersion |
Algo version (used to check determine suitable frame version ?) More... | |
LogMessage | Log |
to send messages to the log server More... | |
Base class for an actor with N input and M output : main purpose is to structure the dataflow.
Definition at line 292 of file NarvalInterface.h.