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

Public Member Functions | |
| ACE_Name_Node (const char *name, char *name_ptr, char *pointer, ACE_Name_Node *head) | |
| Constructor. | |
| ACE_Name_Node (const ACE_Name_Node &) | |
| Copy constructor. | |
| ACE_Name_Node (void) | |
| Constructor. | |
| ~ACE_Name_Node (void) | |
| Constructor. | |
| const char * | name (void) const |
| Return a pointer to the name of this node. | |
| void | name (const char *) |
| Assign a name;. | |
| void | dump (void) const |
| Dump the state of the object. | |
Static Public Member Functions | |
| void | init_ptr (NAME_NODE_PTR *ptr, ACE_Name_Node *init, void *base_addr) |
| Initialize a name node pointer. | |
Public Attributes | |
| CHAR_PTR | name_ |
| Name of the Node. | |
| CHAR_PTR | pointer_ |
| Pointer to the contents. | |
| NAME_NODE_PTR | next_ |
| Pointer to the next node in the doubly-linked list. | |
| NAME_NODE_PTR | prev_ |
| Pointer to the previous node in the doubly-linked list. | |
Private Member Functions | |
| void | operator= (const ACE_Name_Node &) |
Internally, the named memory regions are stored as a doubly-linked list within the Memory_Pool. This makes it easy to iterate over the items in the list in both FIFO and LIFO order.
Definition at line 103 of file PI_Malloc.h.
|
||||||||||||||||||||
|
Constructor.
Definition at line 103 of file PI_Malloc.cpp. References ACE_TRACE, prev_, and ACE_OS::strcpy().
|
|
|
Copy constructor.
Definition at line 119 of file PI_Malloc.cpp. References ACE_ASSERT, and ACE_TRACE.
00120 {
00121 ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node");
00122 ACE_ASSERT (0); // not implemented!
00123 }
|
|
|
Constructor.
Definition at line 98 of file PI_Malloc.cpp. References ACE_TRACE.
00099 {
00100 ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node");
00101 }
|
|
|
Constructor.
|
|
|
Dump the state of the object.
Definition at line 145 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().
00146 {
00147 #if defined (ACE_HAS_DUMP)
00148 ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::dump");
00149
00150 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00151 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT("pointer = %x"), (const char *) this->pointer_));
00152 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT("\nnext_ = %x"), (ACE_Name_Node *) this->next_));
00153 ACE_DEBUG ((LM_DEBUG,
00154 ACE_LIB_TEXT("\nname_ = (%x, %s)"),
00155 (const char *) this->name_,
00156 (const char *) this->name_));
00157 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT("\n")));
00158 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00159 #endif /* ACE_HAS_DUMP */
00160 }
|
|
||||||||||||||||
|
Initialize a name node pointer.
|
|
|
Assign a name;.
Definition at line 133 of file PI_Malloc.cpp. References ACE_ASSERT.
00134 {
00135 ACE_ASSERT (0); // not implemented yet.
00136 }
|
|
|
Return a pointer to the name of this node.
Definition at line 126 of file PI_Malloc.cpp.
00127 {
00128 const char *c = this->name_;
00129 return c;
00130 }
|
|
|
|
|
|
Name of the Node.
Definition at line 134 of file PI_Malloc.h. |
|
|
Pointer to the next node in the doubly-linked list.
Definition at line 140 of file PI_Malloc.h. Referenced by ACE_PI_Control_Block::dump(). |
|
|
Pointer to the contents.
Definition at line 137 of file PI_Malloc.h. |
|
|
Pointer to the previous node in the doubly-linked list.
Definition at line 143 of file PI_Malloc.h. Referenced by ACE_Name_Node(). |
1.3.6