Use override/default for RTPortableServer
[ACE_TAO.git] / ACE / ace / SV_Message.h
blob7b1f5fa352f07847d38cfa66f9383d7f4bfb7857
1 // -*- C++ -*-
3 //==========================================================================
4 /**
5 * @file SV_Message.h
7 * @author Doug Schmidt
8 */
9 //==========================================================================
12 #ifndef ACE_SV_MESSAGE_H
13 #define ACE_SV_MESSAGE_H
15 #include /**/ "ace/pre.h"
17 #include /**/ "ace/ACE_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
25 /**
26 * @class ACE_SV_Message
28 * @brief Defines the header file for the C++ wrapper for message queues.
30 class ACE_Export ACE_SV_Message
32 public:
33 /// Constructor
34 ACE_SV_Message (long type = 0);
36 /// Destructor
37 ~ACE_SV_Message ();
39 /// Get the message type.
40 long type () const;
42 /// Set the message type.
43 void type (long);
45 /// Dump the state of an object.
46 void dump () const;
48 /// Declare the dynamic allocation hooks.
49 ACE_ALLOC_HOOK_DECLARE;
51 protected:
52 /// Type of the message.
53 long type_;
56 ACE_END_VERSIONED_NAMESPACE_DECL
59 #if defined (__ACE_INLINE__)
60 #include "ace/SV_Message.inl"
61 #endif /* __ACE_INLINE__ */
63 #include /**/ "ace/post.h"
65 #endif /* ACE_SV_MESSAGE_H */