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

One stream as an input and one in output. More...

#include <FrameIO.h>

Inheritance diagram for ADF::FrameIO:

Public Types

enum  EStatus { kUndefined = 0, kRunning = 1, kStopped = 2, kSuspended = 3, kIdle = 4, kFinished = 5 }
 current state of the FrameIO More...
 

Public Member Functions

virtual void Attach (FrameBlock *in, FrameBlock *out)
 Attach a block to this. Rewind called if DoRewind set to true (Default) More...
 
virtual void Detach (FrameBlock *in, FrameBlock *out)
 
Bool_t DoRewind (Bool_t rewind=true)
 if set true, rewind is done once a block is attached. Return the previous value More...
 
 FrameIO (const char *)
 
ConfAgentGetConfAgent () const
 Return the agent which keeps the current configuration for that FrameIO. More...
 
const FrameBlockGetCurrentBlockIN () const
 
const FrameBlockGetCurrentBlockOUT () const
 
UInt_t GetFramesRead () const
 
UInt_t GetFramesWritten () const
 
virtual const DFTriggerGetGlobalConfigurationTrigger ()
 to check whether or not a global reconfiguration has occured More...
 
ConfAgent::EModel GetModel () const
 
virtual const std::string & GetName () const
 Name of this FrameIO. More...
 
EStatus GetStatus () const
 
virtual const char * GetStringStatus (EStatus) const
 string corresponding to the current status More...
 
virtual DFTriggerGetTrigger (const Char_t *)
 To retrieve a trigger by its unique name. More...
 
virtual const Char_t * GetType () const
 What kind of data flow is it ? More...
 
virtual Bool_t Notify (Bool_t with_inner_trigger=false)
 To know the number of registered triggers. More...
 
virtual void Print (std::ostream &out=std::cout) const
 Print some informations (statistics) More...
 
virtual Bool_t Record (DFTrigger *)
 To record a frame trigger. More...
 
virtual Bool_t Record ()
 
virtual Bool_t RecordGlobalConfiguration (const std::string="NO")
 write the current configuration in the output data More...
 
virtual Bool_t Register (DFTrigger *)
 To register a trigger. More...
 
void SetModel (ConfAgent::EModel model)
 
virtual void SetName (const char *name)
 
void SetStatus (EStatus stat)
 
virtual ~FrameIO ()
 

Protected Member Functions

virtual Bool_t Check (DFTrigger *, PtrStack< DFTrigger > &, PtrStack< DFTrigger > &)
 check if a trigger is suitable for the dataflow More...
 
Bool_t DoGlobalReconfiguration ()
 
Bool_t InitFromAgent ()
 
virtual Bool_t NextFrame ()
 to know if there is a next frame of the dataflow More...
 

Protected Attributes

LogMessage Log
 to send messages to the log server More...
 

Detailed Description

One stream as an input and one in output.

Used for Producer (in this case input is a FileBlock), Filter and Consumer (in this case output is a FileBlock)

Definition at line 140 of file FrameIO.h.


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