ACE 8.0.1
|
Defines the header file for the C++ wrapper facade for typed message queues. More...
#include <Typed_SV_Message_Queue.h>
Public Types | |
enum | { ACE_CREATE = IPC_CREAT , ACE_OPEN = 0 , ACE_NOWAIT = IPC_NOWAIT } |
Public Member Functions | |
ACE_Typed_SV_Message_Queue () | |
ACE_Typed_SV_Message_Queue (key_t external_id, int create=ACE_OPEN, int perms=ACE_DEFAULT_FILE_PERMS) | |
int | open (key_t external_id, int create=ACE_OPEN, int perms=ACE_DEFAULT_FILE_PERMS) |
int | close () |
int | remove () |
~ACE_Typed_SV_Message_Queue () | |
int | send (const ACE_Typed_SV_Message< T > &mb, int mflags=0) |
Send method. | |
int | recv (ACE_Typed_SV_Message< T > &mb, int mflags=0) |
Recv method. | |
int | get_id () const |
Return the id of the underlying ACE_SV_Message_Queue. | |
int | control (int option, void *arg=0) |
Control the underlying message queue. | |
void | dump () const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
ACE_SV_Message_Queue | message_queue_ |
Defines the header file for the C++ wrapper facade for typed message queues.
ACE_Typed_SV_Message_Queue< T >::ACE_Typed_SV_Message_Queue | ( | ) |
ACE_Typed_SV_Message_Queue< T >::ACE_Typed_SV_Message_Queue | ( | key_t | external_id, |
int | create = ACE_OPEN, | ||
int | perms = ACE_DEFAULT_FILE_PERMS ) |
ACE_Typed_SV_Message_Queue< T >::~ACE_Typed_SV_Message_Queue | ( | ) |
|
inline |
|
inline |
Control the underlying message queue.
void ACE_Typed_SV_Message_Queue< T >::dump | ( | ) | const |
Dump the state of an object.
|
inline |
Return the id of the underlying ACE_SV_Message_Queue.
|
inline |
|
inline |
Recv method.
|
inline |
|
inline |
Send method.
ACE_Typed_SV_Message_Queue< T >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |