#include <PI_Malloc.h>
Collaboration diagram for ACE_PI_Control_Block::ACE_Malloc_Header:
Public Member Functions | |
ACE_Malloc_Header (void) | |
void | dump (void) const |
Dump the state of the object. | |
Static Public Member Functions | |
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 &) |
Definition at line 61 of file PI_Malloc.h.
|
Definition at line 138 of file PI_Malloc.cpp.
00139 : next_block_ (0), 00140 size_ (0) 00141 { 00142 } |
|
|
|
Dump the state of the object.
Definition at line 23 of file PI_Malloc.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG. Referenced by ACE_PI_Control_Block::dump().
00024 { 00025 #if defined (ACE_HAS_DUMP) 00026 ACE_TRACE ("ACE_PI_Control_Block::ACE_Malloc_Header::dump"); 00027 00028 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 00029 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nnext_block = %x"), (ACE_Malloc_Header *) this->next_block_)); 00030 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nsize = %d\n"), this->size_)); 00031 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 00032 #endif /* ACE_HAS_DUMP */ 00033 } |
|
Initialize a malloc header pointer.
|
|
|
|
Points to next block if on free list.
Definition at line 67 of file PI_Malloc.h. Referenced by ACE_PI_Control_Block::dump(). |
|
Definition at line 80 of file PI_Malloc.h. |
|
Size of this header control block.
Definition at line 75 of file PI_Malloc.h. |