Default loader : to be used in non-multi threaded programs. More...
#include <DEmulator.h>
Public Types | |
enum | EStatus { kUndefined, kConfigured, kLoaded, kInitialised, kDoRunning, kRunning, kHasRun, kStopped, kIdle, kFinished, kDead } |
current status More... | |
enum | EType { kUnknown, kProducer, kFilter, kConsumer, kShunter } |
type of the loaded actor. Required since some interfaces are different for different type of actors. All however are based on the NarvalInterface More... | |
Public Member Functions | |
virtual void | AddInput (AnActorConnection *) |
Add one input line to the actor. It does not check if possible ... it has to be done by the user before calling this using GetMaxInput/GetMaxOutput. More... | |
virtual void | AddOutput (AnActorConnection *) |
Add one input line to the actor. It does not check if possible ... it has to be done by the user before calling this using GetMaxInput/GetMaxOutput. More... | |
void | ComputeDepth (Int_t &depth) |
compute depth (the highest one) of this in the data flow. More... | |
virtual void | ConfigureActor () |
configure this actor i.e call static methods. The way it is done depends on the Globals set by using SetEnvironment (most of the time through the emulator) More... | |
DLActor (const Char_t *name) | |
virtual NarvalInterface * | GetActor () const |
get loaded actor, should have the narval interface More... | |
virtual EType | GetActorType () const |
get loaded actor, should have the narval interface More... | |
virtual Int_t | GetDepth () const |
get dpeth of this in a topology: -1 if not connected More... | |
virtual Bool_t | GetGlobal (ANamedItem &) const |
to get back one global More... | |
virtual ALoadedActor * | GetInput (Int_t i) const |
returns a given input of this More... | |
virtual UInt_t | GetLastError () const |
to get the last error code, whatever the action More... | |
const std::string & | GetName () const |
get loaded actor's name More... | |
virtual Int_t | GetNbInput () const |
get number of input connected actors More... | |
virtual Int_t | GetNbOutput () const |
get number of ouput connected actors More... | |
virtual ALoadedActor * | GetOutput (Int_t i) const |
returns a given ouput of this More... | |
virtual EStatus | GetStatus () const |
get dpeth of this in a topology: -1 if not connected More... | |
virtual void | InitActor () |
Init this actor. The way it is done depends on the Globals set by using SetEnvironment (most of the time through the emulator) More... | |
Short_t | IsLinked (ALoadedActor *, AnActorConnection *&) const |
try to see if the two actors are linked: 0 no, -1 yes as input, +1 yes as output More... | |
virtual void | ProcessActor () |
do the job More... | |
virtual void | RegisterActor () |
Register this actor. The way it is done depends on the Globals set by using SetEnvironment (most of the time through the emulator) More... | |
virtual AConfigurator * | SetConfigurator (AConfigurator *) |
adopt it so it is delete by this. It returns the previous one so that the user can delete it once the change is done More... | |
virtual void | SetDepth (Int_t depth) |
virtual void | SetGlobal (const ANamedItem &) |
change one global More... | |
virtual void | SetGlobals (const std::vector< ANamedItem * > &) |
change all globals simultaneously More... | |
virtual void | SetLastError (UInt_t error) |
to set the last error code More... | |
virtual void | SetStatus (EStatus status) |
virtual | ~DLActor () |
Protected Member Functions | |
void | ProcessActorGeneration_2_1_0 (Short_t generation) |
to deal with generation for which the interface depends of the kind of actor More... | |
Protected Attributes | |
NarvalInterface * | fActor |
EStatus | fActorStatus |
to know what kind of actor it is (done @ registration time, see RegisterActor) : More... | |
EType | fActorType |
to know what kind of actor it is (done @ registration time, see RegisterActor) : More... | |
AConfigurator * | fConfigurator |
used to configure the actor (config + load) More... | |
Int_t | fDepth |
depth in the toplogy in which this actor is active. More... | |
NamedItem< Short_t > * | fGeneration |
From the global it keeps the generation here for efficiency. Init @ SetGlobal. More... | |
std::vector< ANamedItem * > | fGlobals |
Globals for this actor ... not owned by this. More... | |
std::vector < Gw::AnActorConnection * > | fInputs |
link to actors providing data ... not owned by this More... | |
UInt_t | fLastError |
to know what kind of actor it is (done @ registration time, see RegisterActor) : More... | |
LogMessage | fLog |
std::string | fName |
Actor's name. More... | |
std::vector < Gw::AnActorConnection * > | fOutputs |
link to actors for sending data ... not owned by this More... | |
Default loader : to be used in non-multi threaded programs.
Definition at line 113 of file DEmulator.h.