SV_Message.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //==========================================================================
00004 /**
00005  *  @file    SV_Message.h
00006  *
00007  *  SV_Message.h,v 4.14 2005/10/28 16:14:55 ossama Exp
00008  *
00009  *  @author Doug Schmidt
00010  */
00011 //==========================================================================
00012 
00013 
00014 #ifndef ACE_SV_MESSAGE_H
00015 #define ACE_SV_MESSAGE_H
00016 
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "ace/ACE_export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 /**
00028  * @class ACE_SV_Message
00029  *
00030  * @brief Defines the header file for the C++ wrapper for message queues.
00031  */
00032 class ACE_Export ACE_SV_Message
00033 {
00034 public:
00035   /// Constructor
00036   ACE_SV_Message (long type = 0);
00037 
00038   /// Destructor
00039   ~ACE_SV_Message (void);
00040 
00041   /// Get the message type.
00042   long type (void) const;
00043 
00044   /// Set the message type.
00045   void type (long);
00046 
00047   /// Dump the state of an object.
00048   void dump (void) const;
00049 
00050   /// Declare the dynamic allocation hooks.
00051   ACE_ALLOC_HOOK_DECLARE;
00052 
00053 protected:
00054   /// Type of the message.
00055   long type_;
00056 };
00057 
00058 ACE_END_VERSIONED_NAMESPACE_DECL
00059 
00060 
00061 #if defined (__ACE_INLINE__)
00062 #include "ace/SV_Message.inl"
00063 #endif /* __ACE_INLINE__ */
00064 
00065 #include /**/ "ace/post.h"
00066 
00067 #endif /* ACE_SV_MESSAGE_H */

Generated on Thu Nov 9 09:42:05 2006 for ACE by doxygen 1.3.6