82 const Char_t *opt = (GetItem<std::string>(
"TypeDataBlockC",
fGlobals)->Get()).data();
91 const Char_t *opt = (GetItem<std::string>(
"TypeDataBlockP",
fGlobals)->Get()).data();
virtual Bool_t SetReadyforProducer()
Prepare the connection so that data can be produced by the left actor : return false if someting wron...
std::vector< ANamedItem * > fGlobals
to configure the emulator. The name of each item should be unique !
virtual void * SetOwner(void *owner=0x0)
Name of the block ... used to distinguish several blocks in a topology.
virtual Long64_t GetSize(UInt_t=0u) const
size of the current block
FrameBlock * fBlock
Block use to exchange data between the producer and the consumer.
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 befo...
Default connection between actors : to be used in non-multi threaded programs.
std::vector< AnActorConnection * > fAllConnections
list of all connections. Owned by the emulator thus delete by this
ALoadedActor * fConsumer
right actor ==> Consumer
An actor looded in an emulator.
virtual NarvalInterface * GetActor() const
get loaded actor, should have the narval interface
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 befo...
virtual Bool_t IsOwner(void *owner=0x0) const
virtual Bool_t IsReadyforConsumer()
test if some data are ready to be sent to the consumer (right part of the connection) ...
virtual void LinkActors(ALoadedActor *left, ALoadedActor *middle, ALoadedActor *right)
link left and right ... depends on the emulator's implementation
virtual Bool_t IsReadyforProducer()
test if some data can be collected be the producer (left part of the connection)
ALoadedActor * fProducer
left actor ==> Producer
virtual void Rewind(ConfAgent::EMode mode=ConfAgent::kRead)=0
Rewind to be ready to be used again.
header file for DEmulator.cpp
Base class that connects two actors in a general topology.
virtual Bool_t SetReadyforConsumer()
Prepare the connection so that data can be consumed by the right actor: return false if someting wron...