#include <PI_Malloc.h>
Collaboration diagram for ACE_PI_Control_Block::ACE_Malloc_Header:

Public Methods | |
| ACE_Malloc_Header (void) | |
| void | dump (void) const |
| Dump the state of the object. More... | |
Static Public Methods | |
| void | init_ptr (MALLOC_HEADER_PTR *ptr, ACE_Malloc_Header *init, void *base_addr) |
| Initialize a malloc header pointer. More... | |
Public Attributes | |
| MALLOC_HEADER_PTR | next_block_ |
| Points to next block if on free list. More... | |
| size_t | size_ |
| Size of this header control block. More... | |
| long | padding_ [ACE_PI_MALLOC_PADDING_SIZE< 1?1:ACE_PI_MALLOC_PADDING_SIZE] |
Private Methods | |
| void | operator= (const ACE_Malloc_Header &) |
Definition at line 59 of file PI_Malloc.h.
|
|
Definition at line 132 of file PI_Malloc.cpp. Referenced by dump.
00133 : next_block_ (0), 00134 size_ (0) 00135 { 00136 } |
|
|
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_Malloc_Header, ACE_TRACE, and LM_DEBUG. Referenced by ACE_PI_Control_Block::dump.
00024 {
00025 ACE_TRACE ("ACE_PI_Control_Block::ACE_Malloc_Header::dump");
00026
00027 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00028 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nnext_block = %x"), (ACE_Malloc_Header *) this->next_block_));
00029 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nsize = %d\n"), this->size_));
00030 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00031 }
|
|
||||||||||||||||
|
Initialize a malloc header pointer.
|
|
|
|
|
|
Points to next block if on free list.
Definition at line 65 of file PI_Malloc.h. Referenced by ACE_PI_Control_Block::dump. |
|
|
Definition at line 83 of file PI_Malloc.h. |
|
|
Size of this header control block.
Definition at line 73 of file PI_Malloc.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002