Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SV_Message.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //==========================================================================
00004 /**
00005  *  @file    SV_Message.h
00006  *
00007  *  $Id: SV_Message.h,v 1.1.1.4 2003/02/21 18:36:32 chad 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 #include "ace/OS.h"
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 #if defined (__ACE_INLINE__)
00059 #include "ace/SV_Message.i"
00060 #endif /* __ACE_INLINE__ */
00061 
00062 #include "ace/post.h"
00063 
00064 #endif /* ACE_SV_MESSAGE_H */

Generated on Mon Jun 16 11:21:32 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002