Default connection between actors : to be used in non-multi threaded programs. More...
#include <DEmulator.h>
Public Member Functions | |
DActorConnection (ALoadedActor *producer, ALoadedActor *consumer, Int_t size, const Char_t *type="") | |
virtual FrameBlock * | GetBlock (const Char_t) |
return the address of the block - opt = p => producer, c => consumer (different in case the connection is a pipeline) More... | |
virtual ALoadedActor * | GetConsumer () |
to get back the consumer More... | |
virtual std::string | GetName () const |
name of the connection, based on actors's names and size of the block More... | |
virtual ALoadedActor * | GetProducer () |
to get back the producer More... | |
virtual Bool_t | IsLazy (Short_t lazy=0u) const |
name of the connection ... better if unique in a emulator More... | |
virtual Bool_t | IsReadyforConsumer () |
test if some data are ready to be sent to the consumer (right part of the connection) More... | |
virtual Bool_t | IsReadyforProducer () |
test if some data can be collected be the producer (left part of the connection) More... | |
virtual void | SetLazy (Short_t lazy=1u) |
set this connection lazy i.e. not absolutely necessary for an actor More... | |
virtual Bool_t | SetReadyforConsumer () |
Prepare the connection so that data can be consumed by the right actor: return false if someting wrong. More... | |
virtual Bool_t | SetReadyforProducer () |
Prepare the connection so that data can be produced by the left actor : return false if someting wrong. More... | |
virtual | ~DActorConnection () |
Protected Attributes | |
FrameBlock * | fBlock |
Block use to exchange data between the producer and the consumer. More... | |
ALoadedActor * | fConsumer |
right actor ==> Consumer More... | |
ALoadedActor * | fProducer |
left actor ==> Producer More... | |
Default connection between actors : to be used in non-multi threaded programs.
Definition at line 38 of file DEmulator.h.