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

 BT_Routing_Slip
 BT_Event
 BT_Overflow
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

enum TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::Header_Type

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]

Reimplemented in TAO_Notify::Routing_Slip_Persistence_Manager::Routing_Slip_Header.

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

Reimplemented in TAO_Notify::Routing_Slip_Persistence_Manager::Routing_Slip_Header.


Member Data Documentation

Block_Size TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::data_size

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

Block_Type TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::header_type

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

Block_Number TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::next_overflow

Address of the overflow record (if any).

Block_Serial_Number TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::serial_number

Our serial number.


The documentation for this class was generated from the following files:
Generated on Thu Mar 22 07:54:11 2007 for TAO_CosNotification by  doxygen 1.4.7-1