ACE  6.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Private Attributes | List of all members
ACE_MT_MEM_IO Class Reference

#include <MEM_IO.h>

Inheritance diagram for ACE_MT_MEM_IO:
Inheritance graph
[legend]
Collaboration diagram for ACE_MT_MEM_IO:
Collaboration graph
[legend]

Classes

struct  Channel
 
struct  MQ_Struct
 
class  Simple_Queue
 

Public Member Functions

 ACE_MT_MEM_IO (void)
 
virtual ~ACE_MT_MEM_IO (void)
 
virtual int init (ACE_HANDLE handle, const ACE_TCHAR *name, MALLOC_OPTIONS *options)
 
virtual ssize_t recv_buf (ACE_MEM_SAP_Node *&buf, int flags, const ACE_Time_Value *timeout)
 
virtual ssize_t send_buf (ACE_MEM_SAP_Node *buf, int flags, const ACE_Time_Value *timeout)
 
- Public Member Functions inherited from ACE_MEM_SAP
virtual ~ACE_MEM_SAP (void)
 Destructor. More...
 
virtual int fini ()
 
ACE_MEM_SAP_Nodeacquire_buffer (const ssize_t size)
 
int release_buffer (ACE_MEM_SAP_Node *buf)
 
void dump (void) const
 Dump the state of an object. More...
 

Private Attributes

Channel recv_channel_
 
Channel send_channel_
 

Additional Inherited Members

- Public Types inherited from ACE_MEM_SAP
typedef ACE_Malloc_T
< ACE_MMAP_MEMORY_POOL,
ACE_Process_Mutex,
ACE_PI_Control_Block
MALLOC_TYPE
 
typedef
ACE_MMAP_Memory_Pool_Options 
MALLOC_OPTIONS
 
- Public Attributes inherited from ACE_MEM_SAP
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Protected Member Functions inherited from ACE_MEM_SAP
int create_shm_malloc (const ACE_TCHAR *name, MALLOC_OPTIONS *options)
 
int close_shm_malloc (void)
 
 ACE_MEM_SAP (void)
 Constructor. Prevent this class from being instantiated. More...
 
- Protected Attributes inherited from ACE_MEM_SAP
ACE_HANDLE handle_
 
MALLOC_TYPEshm_malloc_
 Data exchange channel. More...
 

Constructor & Destructor Documentation

ACE_MT_MEM_IO::ACE_MT_MEM_IO ( void  )
inline
ACE_MT_MEM_IO::~ACE_MT_MEM_IO ( void  )
virtual

Member Function Documentation

int ACE_MT_MEM_IO::init ( ACE_HANDLE  handle,
const ACE_TCHAR name,
MALLOC_OPTIONS options 
)
virtual

Initialize the MEM_SAP object.

Implements ACE_MEM_SAP.

ssize_t ACE_MT_MEM_IO::recv_buf ( ACE_MEM_SAP_Node *&  buf,
int  flags,
const ACE_Time_Value timeout 
)
virtual

Fetch location of next available data into <recv_buffer_>. As this operation read the address of the data off the socket using ACE::recv, timeout only applies to ACE::recv.

Implements ACE_MEM_SAP.

ssize_t ACE_MT_MEM_IO::send_buf ( ACE_MEM_SAP_Node buf,
int  flags,
const ACE_Time_Value timeout 
)
virtual

Wait to to timeout amount of time to send buf. If <send> times out a -1 is returned with errno == ETIME. If it succeeds the number of bytes sent is returned.

Implements ACE_MEM_SAP.

Member Data Documentation

Channel ACE_MT_MEM_IO::recv_channel_
private
Channel ACE_MT_MEM_IO::send_channel_
private

The documentation for this class was generated from the following files: