ACE 8.0.1
|
Defines the header file for the C++ wrapper for System V IPC message queues. More...
#include <SV_Message_Queue.h>
Public Types | |
enum | { ACE_CREATE = IPC_CREAT , ACE_OPEN = 0 , ACE_NOWAIT = IPC_NOWAIT } |
Public Member Functions | |
ACE_SV_Message_Queue () | |
Open a message queue using the <external_id>. | |
ACE_SV_Message_Queue (key_t external_id, int create=ACE_SV_Message_Queue::ACE_OPEN, int perms=ACE_DEFAULT_FILE_PERMS) | |
int | open (key_t external_id, int create=ACE_SV_Message_Queue::ACE_OPEN, int perms=ACE_DEFAULT_FILE_PERMS) |
~ACE_SV_Message_Queue () | |
int | close () |
int | remove () |
Close down and remove the message queue from the system. | |
ssize_t | recv (ACE_SV_Message &mb, int length, long mtype=0, int mflags=0) |
int | send (const ACE_SV_Message &mb, int length, int mflags=0) |
int | control (int option, void *arg=0) |
Access the underlying control operations. | |
int | get_id () const |
Get the underly internal id. | |
void | set_id (int) |
Set the underly internal id. | |
void | dump () const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Attributes | |
int | internal_id_ |
Returned from the underlying <msgget> system call. | |
Defines the header file for the C++ wrapper for System V IPC message queues.
ACE_SV_Message_Queue::ACE_SV_Message_Queue | ( | ) |
Open a message queue using the <external_id>.
ACE_SV_Message_Queue::ACE_SV_Message_Queue | ( | key_t | external_id, |
int | create = ACE_SV_Message_Queue::ACE_OPEN, | ||
int | perms = ACE_DEFAULT_FILE_PERMS ) |
ACE_SV_Message_Queue::~ACE_SV_Message_Queue | ( | ) |
|
inline |
Close down this instance of the message queue without removing it from the system.
Access the underlying control operations.
void ACE_SV_Message_Queue::dump | ( | ) | const |
Dump the state of an object.
|
inline |
Get the underly internal id.
|
inline |
|
inline |
|
inline |
Close down and remove the message queue from the system.
|
inline |
ACE_SV_Message_Queue::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
protected |
Returned from the underlying <msgget> system call.