TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
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 ()
 
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

◆ Header_Type

Enumerator
BT_Routing_Slip 
BT_Event 
BT_Overflow 

Constructor & Destructor Documentation

◆ Block_Header()

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

◆ ~Block_Header()

TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::~Block_Header ( )
virtual

Member Function Documentation

◆ extract_header()

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

◆ put_header()

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

Member Data Documentation

◆ data_size

Block_Size TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::data_size

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

◆ header_type

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)

◆ next_overflow

Block_Number TAO_Notify::Routing_Slip_Persistence_Manager::Block_Header::next_overflow

Address of the overflow record (if any)

◆ serial_number

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: