blob: f2f4e55d7c8ae00b423c77e3e3289b7324e99a39 (
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
52
53
54
55
56
57
58
|
/* -*- 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 the message type.
long type (void) const;
/// Set the message type.
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 */
|