ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
ACE_PI_Control_Block::ACE_Malloc_Header Class Reference

This is the control block header. It's used by ACE_Malloc to keep track of each chunk of data when it's in the free list or in use. More...

#include <PI_Malloc.h>

Collaboration diagram for ACE_PI_Control_Block::ACE_Malloc_Header:
Collaboration graph
[legend]

Public Member Functions

 ACE_Malloc_Header ()
 
void dump () const
 Dump the state of the object.
 

Static Public Member Functions

static void init_ptr (MALLOC_HEADER_PTR *ptr, ACE_Malloc_Header *init, void *base_addr)
 Initialize a malloc header pointer.
 

Public Attributes

MALLOC_HEADER_PTR next_block_
 Points to next block if on free list.
 
size_t size_
 Size of this header control block.
 
char padding_ [(ACE_PI_MALLOC_PADDING_SIZE) ? ACE_PI_MALLOC_PADDING_SIZE :ACE_MALLOC_ALIGN]
 

Private Member Functions

 ACE_Malloc_Header (ACE_Malloc_Header const &)
 
void operator= (ACE_Malloc_Header const &)
 

Detailed Description

This is the control block header. It's used by ACE_Malloc to keep track of each chunk of data when it's in the free list or in use.

Constructor & Destructor Documentation

◆ ACE_Malloc_Header() [1/2]

ACE_PI_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header ( )

◆ ACE_Malloc_Header() [2/2]

ACE_PI_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header ( ACE_Malloc_Header const & )
private

Member Function Documentation

◆ dump()

void ACE_PI_Control_Block::ACE_Malloc_Header::dump ( ) const

Dump the state of the object.

◆ init_ptr()

void ACE_PI_Control_Block::ACE_Malloc_Header::init_ptr ( MALLOC_HEADER_PTR * ptr,
ACE_Malloc_Header * init,
void * base_addr )
inlinestatic

Initialize a malloc header pointer.

◆ operator=()

void ACE_PI_Control_Block::ACE_Malloc_Header::operator= ( ACE_Malloc_Header const & )
private

Member Data Documentation

◆ next_block_

MALLOC_HEADER_PTR ACE_PI_Control_Block::ACE_Malloc_Header::next_block_

Points to next block if on free list.

◆ padding_

char ACE_PI_Control_Block::ACE_Malloc_Header::padding_[(ACE_PI_MALLOC_PADDING_SIZE) ? ACE_PI_MALLOC_PADDING_SIZE :ACE_MALLOC_ALIGN]

◆ size_

size_t ACE_PI_Control_Block::ACE_Malloc_Header::size_

Size of this header control block.


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