#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 Member Functions | |
ACE_MEM_SAP_Node (size_t cap) | |
Initialize the node with its capacity. | |
size_t | size (void) const |
Get the size of the data we hold. | |
size_t | capacity (void) const |
Get the capacity of this block of data. | |
void * | data (void) |
Get the pointer to the block of data we hold. | |
Public Attributes | |
size_t | capacity_ |
The maximum size of this memory block. | |
size_t | size_ |
The actualy size used. | |
ACE_MEM_SAP_NODE_PTR | next_ |
|
|
|
Initialize the node with its capacity.
Definition at line 10 of file MEM_SAP.inl.
|
|
Get the capacity of this block of data.
Definition at line 24 of file MEM_SAP.inl.
00025 { 00026 return this->capacity_; 00027 } |
|
Get the pointer to the block of data we hold.
Definition at line 30 of file MEM_SAP.inl. Referenced by ACE_MEM_IO::send().
00031 { 00032 return this + 1; 00033 } |
|
Get the size of the data we hold.
Definition at line 18 of file MEM_SAP.inl. 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().
00019 { 00020 return this->size_; 00021 } |
|
The maximum size of this memory block.
|
|
Definition at line 70 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 68 of file MEM_SAP.h. Referenced by ACE_MEM_IO::send(). |