summaryrefslogtreecommitdiff
path: root/ace/SV_Message.h
blob: 7ee965520aed4522bebde81c1d21f88d00a4a7d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 */