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

Base class that connects two actors in a general topology. More...

#include <AnActorConnection.h>

Inheritance diagram for Gw::AnActorConnection:

Public Member Functions

 AnActorConnection ()
 
virtual ADF::FrameBlockGetBlock (const Char_t opt)=0
 return the address of the block - opt = p => producer, c => consumer (different in case the connection is a pipeline) More...
 
virtual ALoadedActorGetConsumer ()=0
 to get back the consumer More...
 
virtual std::string GetName () const
 name of the connection ... better if unique in a emulator More...
 
virtual ALoadedActorGetProducer ()=0
 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 ~AnActorConnection ()
 

Detailed Description

Base class that connects two actors in a general topology.

Todo:
set lazy in the topology using globals. At the same time possibilities to set expandable blocks.

Definition at line 41 of file AnActorConnection.h.


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