TAO_CosNotification  2.4.1
Public Types | Public Member Functions | Public Attributes | List of all members
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]

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. More...
 
Block_Number next_overflow
 Address of the overflow record (if any) More...
 
Block_Type header_type
 How much extra header data is in this block (not including this header) More...
 
Block_Size data_size
 How much actual data is in this block? (not including headers) More...
 

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

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: