summaryrefslogtreecommitdiff
path: root/ace/IPC/SV_Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/IPC/SV_Message.h')
-rw-r--r--ace/IPC/SV_Message.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/ace/IPC/SV_Message.h b/ace/IPC/SV_Message.h
new file mode 100644
index 00000000000..b93d9e531e5
--- /dev/null
+++ b/ace/IPC/SV_Message.h
@@ -0,0 +1,56 @@
+/* -*- C++ -*- */
+
+//=============================================================================
+/**
+ * @file SV_Message.h
+ *
+ * $Id$
+ *
+ * @author Doug Schmidt
+ */
+//=============================================================================
+
+
+#ifndef ACE_SV_MESSAGE_H
+#define ACE_SV_MESSAGE_H
+#include "ace/pre.h"
+
+#include "ace/ACE.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+/**
+ * @class ACE_SV_Message
+ *
+ * @brief Defines the header file for the C++ wrapper for message queues.
+ */
+class ACE_Export ACE_SV_Message
+{
+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);
+
+ /// Dump the state of an object.
+ void dump (void) const;
+
+ /// Declare the dynamic allocation hooks.
+ ACE_ALLOC_HOOK_DECLARE;
+
+protected:
+ /// Type of the message.
+ long type_;
+};
+
+#if defined (__ACE_INLINE__)
+#include "ace/SV_Message.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* ACE_SV_MESSAGE_H */