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

It implements an expandable block of Frame. More...

#include <FrameBlock.h>

Inheritance diagram for ADF::ExpandableBlock:

Public Member Functions

virtual Bool_t AddFrame (const BufferIO &, UInt_t i=0u)
 Add a Frame to the block. More...
 
virtual Bool_t AddFrame (const Frame &, UInt_t i=0u)
 
virtual void BackToSnapshot ()
 back to the last position More...
 
 ExpandableBlock (UInt_t size=aMByte, ConfAgent::EMode mode=ConfAgent::kRead)
 
virtual BufferIOGetBufferIO (UInt_t=0u)
 To get the address of the underlying buffer. More...
 
virtual BufferIOGetFrame (UInt_t=0u)
 Return a buffer that is linked with the part of the buffer that corresponds to the next frame. 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 *)
 return true if there is a new frame available (in reading mode) More...
 
virtual UInt_t NumberOfChannels () const
 
virtual Bool_t Reserve (UInt_t, Bool_t=false, UInt_t=0u)
 check if enough place to write something (writing mode) More...
 
virtual void Rewind (ConfAgent::EMode mode=ConfAgent::kRead)
 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)
 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 position More...
 
virtual ~ExpandableBlock ()
 

Protected Member Functions

virtual Bool_t Expand (UInt_t)
 implements Expand method More...
 

Protected Attributes

BufferIO fBuffer
 The buffer to look for Frames. More...
 
BufferIO fFrame
 to wrap the current Frame More...
 
UInt_t fLastSnapshot
 

Detailed Description

It implements an expandable block of Frame.

Definition at line 351 of file FrameBlock.h.


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