3 //==========================================================================
9 //==========================================================================
12 #ifndef ACE_IO_CNTL_MSG_H
13 #define ACE_IO_CNTL_MSG_H
15 #include /**/ "ace/pre.h"
17 #include /**/ "ace/ACE_export.h"
18 #include "ace/os_include/os_stddef.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class ACE_IO_Cntl_Msg
29 * @brief Data format for IOCTL messages
31 class ACE_Export ACE_IO_Cntl_Msg
36 /// Set the low water mark.
38 /// Get the low water mark.
40 /// Set the high water mark.
42 /// Get the high water mark.
50 typedef unsigned short ACE_IO_Cntl_Cmds
;
52 /// Initialize the control message.
53 ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c
);
58 ACE_IO_Cntl_Cmds
cmd ();
61 void cmd (ACE_IO_Cntl_Cmds c
);
67 void count (size_t c
);
81 /// Dump the state of an object.
84 /// Declare the dynamic allocation hooks.
85 ACE_ALLOC_HOOK_DECLARE
;
89 ACE_IO_Cntl_Cmds cmd_
;
101 ACE_END_VERSIONED_NAMESPACE_DECL
103 #if defined (__ACE_INLINE__)
104 #include "ace/IO_Cntl_Msg.inl"
105 #endif /* __ACE_INLINE__ */
107 #include /**/ "ace/post.h"
109 #endif /* ACE_IO_CNTL_MSG_H */