#include <IO_Cntl_Msg.h>
Public Types | |
typedef unsigned short | ACE_IO_Cntl_Cmds |
SET_LWM = 1 | |
Set the low water mark. | |
GET_LWM = 2 | |
Get the low water mark. | |
SET_HWM = 3 | |
Set the high water mark. | |
GET_HWM = 4 | |
Get the high water mark. | |
MOD_LINK = 5 | |
Link modules. | |
MOD_UNLINK = 6 | |
Unlink modules. | |
enum | { SET_LWM = 1, GET_LWM = 2, SET_HWM = 3, GET_HWM = 4, MOD_LINK = 5, MOD_UNLINK = 6 } |
Public Member Functions | |
ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c) | |
Initialize the control message. | |
ACE_IO_Cntl_Cmds | cmd (void) |
Get command. | |
void | cmd (ACE_IO_Cntl_Cmds c) |
Set command. | |
size_t | count (void) |
Get count. | |
void | count (size_t c) |
Set count. | |
int | error (void) |
Get error. | |
void | error (int e) |
Set error. | |
int | rval (void) |
Get return value. | |
void | rval (int r) |
Set return value. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
ACE_IO_Cntl_Cmds | cmd_ |
Command. | |
size_t | count_ |
Count. | |
int | error_ |
Error. | |
int | rval_ |
Return value. |
Definition at line 33 of file IO_Cntl_Msg.h.
typedef unsigned short ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds |
Definition at line 52 of file IO_Cntl_Msg.h.
anonymous enum |
SET_LWM | Set the low water mark. |
GET_LWM | Get the low water mark. |
SET_HWM | Set the high water mark. |
GET_HWM | Get the high water mark. |
MOD_LINK | Link modules. |
MOD_UNLINK | Unlink modules. |
Definition at line 36 of file IO_Cntl_Msg.h.
00037 { 00038 /// Set the low water mark. 00039 SET_LWM = 1, 00040 /// Get the low water mark. 00041 GET_LWM = 2, 00042 /// Set the high water mark. 00043 SET_HWM = 3, 00044 /// Get the high water mark. 00045 GET_HWM = 4, 00046 /// Link modules 00047 MOD_LINK = 5, 00048 /// Unlink modules 00049 MOD_UNLINK = 6 00050 };
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Msg | ( | ACE_IO_Cntl_Cmds | c | ) |
Initialize the control message.
Definition at line 8 of file IO_Cntl_Msg.inl.
References cmd_.
00009 { 00010 this->cmd_ = c; 00011 }
ACE_INLINE void ACE_IO_Cntl_Msg::cmd | ( | ACE_IO_Cntl_Cmds | c | ) |
Set command.
Definition at line 20 of file IO_Cntl_Msg.inl.
References cmd_.
00021 { 00022 this->cmd_ = c; 00023 }
ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds ACE_IO_Cntl_Msg::cmd | ( | void | ) |
Get command.
Definition at line 14 of file IO_Cntl_Msg.inl.
References cmd_.
Referenced by ACE_Stream_Tail<>::control(), and ACE_Stream_Head<>::control().
00015 { 00016 return this->cmd_; 00017 }
ACE_INLINE void ACE_IO_Cntl_Msg::count | ( | size_t | c | ) |
Set count.
Definition at line 32 of file IO_Cntl_Msg.inl.
References count_.
00033 { 00034 this->count_ = c; 00035 }
ACE_INLINE size_t ACE_IO_Cntl_Msg::count | ( | void | ) |
Get count.
Definition at line 26 of file IO_Cntl_Msg.inl.
References count_.
00027 { 00028 return this->count_; 00029 }
void ACE_IO_Cntl_Msg::dump | ( | void | ) | const |
Dump the state of an object.
ACE_INLINE void ACE_IO_Cntl_Msg::error | ( | int | e | ) |
Set error.
Definition at line 44 of file IO_Cntl_Msg.inl.
References error_.
00045 { 00046 this->error_ = e; 00047 }
ACE_INLINE int ACE_IO_Cntl_Msg::error | ( | void | ) |
Get error.
Definition at line 38 of file IO_Cntl_Msg.inl.
References error_.
00039 { 00040 return this->error_; 00041 }
ACE_INLINE void ACE_IO_Cntl_Msg::rval | ( | int | r | ) |
Set return value.
Definition at line 56 of file IO_Cntl_Msg.inl.
References rval_.
00057 { 00058 this->rval_ = r; 00059 }
ACE_INLINE int ACE_IO_Cntl_Msg::rval | ( | void | ) |
Get return value.
Definition at line 50 of file IO_Cntl_Msg.inl.
References rval_.
Referenced by ACE_Stream_Tail<>::control(), and ACE_Stream_Head<>::control().
00051 { 00052 return this->rval_; 00053 }
ACE_IO_Cntl_Cmds ACE_IO_Cntl_Msg::cmd_ [private] |
size_t ACE_IO_Cntl_Msg::count_ [private] |
int ACE_IO_Cntl_Msg::error_ [private] |
int ACE_IO_Cntl_Msg::rval_ [private] |