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