ACE
6.3.3
|
Defines the header file for the C++ wrapper for System V message queues. More...
#include <Typed_SV_Message.h>
Public Member Functions | |
ACE_Typed_SV_Message (long type=0, int length=sizeof(T), int max_size=sizeof(T)) | |
ACE_Typed_SV_Message (const T &data, long type=0, int length=sizeof(T), int max_size=sizeof(T)) | |
~ACE_Typed_SV_Message (void) | |
long | type (void) const |
Get the type of the message. More... | |
void | type (long type) |
Set the type of the message. More... | |
int | length (void) const |
Get the length of the message. More... | |
void | length (int l) |
Set the length of the message. More... | |
int | max_size (void) const |
Get the maximum size of the message. More... | |
void | max_size (int m) |
Set the maximum size of the message. More... | |
T & | data (void) |
Get a pointer to the data in the message. More... | |
void | data (const T &data) |
Set a pointer to the data in the message. More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Private Attributes | |
long | type_ |
Type of message. More... | |
int | length_ |
Length of this message. More... | |
int | max_ |
Maximum length of any message. More... | |
T | data_ |
Data stored in a message. More... | |
Defines the header file for the C++ wrapper for System V message queues.
|
inline |
|
inline |
|
inline |
T & ACE_Typed_SV_Message< T >::data | ( | void | ) |
Get a pointer to the data in the message.
void ACE_Typed_SV_Message< T >::data | ( | const T & | data | ) |
Set a pointer to the data in the message.
void ACE_Typed_SV_Message< T >::dump | ( | void | ) | const |
Dump the state of an object.
|
inline |
Get the length of the message.
|
inline |
Set the length of the message.
|
inline |
Get the maximum size of the message.
|
inline |
Set the maximum size of the message.
|
inline |
Get the type of the message.
|
inline |
Set the type of the message.
ACE_Typed_SV_Message< T >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Data stored in a message.
|
private |
Length of this message.
|
private |
Maximum length of any message.
|
private |
Type of message.