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

A Block of Frames. More...

#include <FrameBlock.h>

Inheritance diagram for ADF::FrameBlock:

Public Member Functions

virtual Bool_t AddFrame (const BufferIO &, UInt_t=0u)
 Add a Frame to the block. More...
 
virtual Bool_t AddFrame (const Frame &, UInt_t=0u)
 
virtual void BackToSnapshot ()
 back to the last position More...
 
 FrameBlock (ConfAgent::EMode mode=ConfAgent::kRead)
 
virtual BufferIOGetBufferIO (UInt_t which=0u)=0
 To get the address of the underlying buffer. More...
 
virtual BufferIOGetFrame (UInt_t which=0u)=0
 the new frame is wrapped in a BufferIO object for transportation between the different classes More...
 
virtual Long64_t GetMaxSize (UInt_t=0u) const
 max size of the block More...
 
ConfAgent::EMode GetModeIO () const
 Return the operating mode. More...
 
virtual Long64_t GetOffset (UInt_t=0u) const
 Current position. More...
 
virtual Long64_t GetSize (UInt_t=0u) const
 size of the current block More...
 
Bool_t IsEoB () const
 
Bool_t IsMode (ConfAgent::EMode mode) const
 
virtual Bool_t IsOwner (void *owner=0x0) const
 
virtual Bool_t NextFrame (Key *)=0
 true if there is a new frame available in the block More...
 
virtual UInt_t NumberOfChannels () const =0
 
virtual Bool_t Reserve (UInt_t, Bool_t=false, UInt_t=0u)
 Reserve the given size for writing. More...
 
virtual void Rewind (ConfAgent::EMode mode=ConfAgent::kRead)=0
 Rewind to be ready to be used again. More...
 
virtual Bool_t SetBlock (Char_t *=0x0, UInt_t=0u, char= 'r', char= 'l', UInt_t=0u)=0
 Attach a external block to this. More...
 
void SetEoB (Bool_t b)
 
virtual void SetModeIO (ConfAgent::EMode mode)
 
virtual void * SetOwner (void *owner=0x0)
 Name of the block ... used to distinguish several blocks in a topology. More...
 
virtual void Snapshot ()
 keep the current position More...
 
virtual ~FrameBlock ()
 

Protected Member Functions

virtual Bool_t Expand (UInt_t)=0
 return true if the output is expandable More...
 

Detailed Description

A Block of Frames.

A block of Frames is a source composed of sequential Frames in reading or writing mode. Methods to add/get frames are to be provided by the concrete implementation.

Definition at line 43 of file FrameBlock.h.


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