TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header Class Reference

private: Storage for header information of all persistent block. More...

Inheritance diagram for TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header:

Inheritance graph
[legend]

List of all members.

Public Types

enum  Header_Type { BT_Routing_Slip, BT_Event, BT_Overflow }

Public Member Functions

 Block_Header (Header_Type type)
virtual ~Block_Header (void)
virtual size_t extract_header (Persistent_Storage_Block &psb, size_t offset=0)
virtual size_t put_header (Persistent_Storage_Block &psb, size_t offset=0)

Public Attributes

Block_Serial_Number serial_number
 Our serial number.
Block_Number next_overflow
 Address of the overflow record (if any).
Block_Type header_type
 How much extra header data is in this block (not including this header).
Block_Size data_size
 How much actual data is in this block? (not including headers).


Detailed Description

private: Storage for header information of all persistent block.

Member Enumeration Documentation

Enumerator:
BT_Routing_Slip 
BT_Event 
BT_Overflow 


Constructor & Destructor Documentation

TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::Block_Header ( Header_Type  type  ) 

TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::~Block_Header ( void   )  [virtual]


Member Function Documentation

size_t TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::extract_header ( Persistent_Storage_Block psb,
size_t  offset = 0 
) [virtual]

size_t TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::put_header ( Persistent_Storage_Block psb,
size_t  offset = 0 
) [virtual]


Member Data Documentation

Our serial number.

Address of the overflow record (if any).

How much extra header data is in this block (not including this header).

How much actual data is in this block? (not including headers).


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

Generated on Thu Nov 27 05:44:32 2008 for TAO_CosNotification by  doxygen 1.5.6