diff options
Diffstat (limited to 'ace/SV_Message.h')
-rw-r--r-- | ace/SV_Message.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ace/SV_Message.h b/ace/SV_Message.h new file mode 100644 index 00000000000..7ee965520ae --- /dev/null +++ b/ace/SV_Message.h @@ -0,0 +1,51 @@ +/* -*- C++ -*- */ +// $Id$ + + +// ============================================================================ +// +// = LIBRARY +// ace +// +// = FILENAME +// SV_Message.h +// +// = AUTHOR +// Doug Schmidt +// +// ============================================================================ + +#if !defined (ACE_SV_MESSAGE_H) +#define ACE_SV_MESSAGE_H + +#include "ace/ACE.h" + +class ACE_Export ACE_SV_Message + // = TITLE + // Defines the header file for the C++ wrapper for message queues. */ +{ +public: + // = Initialization and termination methods. + ACE_SV_Message (long type = 0); + ~ACE_SV_Message (void); + + // = Get/set the message type. + long type (void) const; + void type (long); + + void dump (void) const; + // Dump the state of an object. + + ACE_ALLOC_HOOK_DECLARE; + // Declare the dynamic allocation hooks. + +protected: + long type_; + // Type of the message. +}; + +#if defined (__ACE_INLINE__) +#include "ace/SV_Message.i" +#endif /* __ACE_INLINE__ */ + +#endif /* ACE_SV_MESSAGE_H */ |