GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::DActorConnection Class Reference

Default connection between actors : to be used in non-multi threaded programs. More...

#include <DEmulator.h>

Inheritance diagram for Gw::DActorConnection:

Public Member Functions

 DActorConnection (ALoadedActor *producer, ALoadedActor *consumer, Int_t size, const Char_t *type="")
 
virtual FrameBlockGetBlock (const Char_t)
 return the address of the block - opt = p => producer, c => consumer (different in case the connection is a pipeline) More...
 
virtual ALoadedActorGetConsumer ()
 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 ALoadedActorGetProducer ()
 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

FrameBlockfBlock
 Block use to exchange data between the producer and the consumer. More...
 
ALoadedActorfConsumer
 right actor ==> Consumer More...
 
ALoadedActorfProducer
 left actor ==> Producer More...
 

Detailed Description

Default connection between actors : to be used in non-multi threaded programs.

Definition at line 38 of file DEmulator.h.


The documentation for this class was generated from the following files: