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

It implements a black hole for Frames. More...

#include <FrameBlock.h>

Inheritance diagram for ADF::NullBlock:

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...
 
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...
 
 NullBlock (ConfAgent::EMode mode=ConfAgent::kRead)
 
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 ~NullBlock ()
 

Protected Member Functions

virtual Bool_t Expand (UInt_t)
 This kind of Block is not expandable. 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 a black hole for Frames.

Cannot get any Frame and all Frames could be added

Definition at line 323 of file FrameBlock.h.


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