#include <MEM_SAP.h>
Collaboration diagram for ACE_MEM_SAP_Node:

Public Types | |
| typedef ACE_Based_Pointer< ACE_MEM_SAP_Node > | ACE_MEM_SAP_NODE_PTR |
Public Methods | |
| ACE_MEM_SAP_Node (size_t cap) | |
| Initialize the node with its capacity. More... | |
| size_t | size (void) const |
| Get the size of the data we hold. More... | |
| size_t | capacity (void) const |
| Get the capacity of this block of data. More... | |
| void * | data (void) |
| Get the pointer to the block of data we hold. More... | |
Public Attributes | |
| size_t | capacity_ |
| The maximum size of this memory block. More... | |
| size_t | size_ |
| The actualy size used. More... | |
| ACE_MEM_SAP_NODE_PTR | next_ |
|
|
|
|
|
Initialize the node with its capacity.
Definition at line 8 of file MEM_SAP.i.
|
|
|
Get the capacity of this block of data.
Definition at line 22 of file MEM_SAP.i. References capacity_.
00023 {
00024 return this->capacity_;
00025 }
|
|
|
Get the pointer to the block of data we hold.
Definition at line 28 of file MEM_SAP.i. Referenced by ACE_MEM_IO::send.
00029 {
00030 return this + 1;
00031 }
|
|
|
Get the size of the data we hold.
Definition at line 16 of file MEM_SAP.i. References size_. Referenced by ACE_Reactive_MEM_IO::get_buf_len, ACE_MT_MEM_IO::recv_buf, ACE_MT_MEM_IO::send_buf, and ACE_Reactive_MEM_IO::send_buf.
00017 {
00018 return this->size_;
00019 }
|
|
|
The maximum size of this memory block.
Definition at line 60 of file MEM_SAP.h. Referenced by capacity. |
|
|
Definition at line 65 of file MEM_SAP.h. Referenced by ACE_MT_MEM_IO::Simple_Queue::read, and ACE_MT_MEM_IO::Simple_Queue::write. |
|
|
The actualy size used.
Definition at line 63 of file MEM_SAP.h. Referenced by ACE_MEM_IO::send, and size. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002