MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
libsrc
exec
syncPt.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: syncPt.h,v $ $Revision: 1.3 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtSyncPt_H_
13
#define DtSyncPt_H_
14
15
#include "
rtiMsConfig.h
"
16
#include <vlutil/vlMachineTypes.h>
17
#include <vlutil/vlString.h>
18
19
#ifdef DtIFSPEC1516
20
#include "RTI/Typedefs.h"
21
#include "RTI/Handle.h"
22
#elif defined(DtIFSPEC1516E)
23
#include "RTI/Typedefs.h"
24
#include "RTI/Handle.h"
25
#endif
26
27
class
DtFederateHandleSet
;
28
29
class
DT_DLL_EXEC
DtSyncPt
30
{
31
public
:
33
DtSyncPt
(
34
char
const
* name,
35
#ifdef DtIFSPEC1516
36
rti1516::VariableLengthData
const
* tag,
37
#elif defined(DtIFSPEC1516E)
38
rti1516e::VariableLengthData
const
* tag,
39
#
else
40
char
const
* tag,
41
#endif
42
bool
achieved);
43
44
DtSyncPt
(
45
char
const
* name,
46
#ifdef DtIFSPEC1516
47
rti1516::VariableLengthData
const
* tag,
48
#elif defined(DtIFSPEC1516E)
49
rti1516e::VariableLengthData
const
* tag,
50
#
else
51
char
const
* tag,
52
#endif
53
bool
achieved,
54
DtFederateHandleSet
const
* fSet);
55
57
DtSyncPt
();
58
60
DtSyncPt
(
const
DtSyncPt
& item);
61
63
virtual
~
DtSyncPt
();
64
66
virtual
void
setName(
char
const
* newName);
67
virtual
char
const
* name()
const
;
68
70
#ifdef DtIFSPEC1516
71
virtual
void
setTag(
rti1516::VariableLengthData
const
* newTag);
72
virtual
rti1516::VariableLengthData
const
* tag()
const
;
73
#elif defined(DtIFSPEC1516E)
74
virtual
void
setTag(
rti1516e::VariableLengthData
const
* newTag);
75
virtual
rti1516e::VariableLengthData
const
* tag()
const
;
76
#else
77
virtual
void
setTag(
char
const
* newTag);
78
virtual
char
const
* tag()
const
;
79
#endif
80
82
virtual
void
setAchieved(
bool
newAchieved);
83
virtual
bool
achieved()
const
;
84
86
virtual
void
setSuccessful(
bool
successful);
87
virtual
bool
successful()
const
;
88
91
virtual
void
setFederates(
DtFederateHandleSet
const
* fSet);
92
virtual
DtFederateHandleSet
const
* federates()
const
;
93
94
protected
:
96
virtual
DtSyncPt
*
self
()
const
;
97
98
protected
:
99
100
MAKRti::DtString
myName
;
101
#ifdef DtIFSPEC1516
102
rti1516::VariableLengthData
* myTag;
103
#elif defined(DtIFSPEC1516E)
104
rti1516e::VariableLengthData
* myTag;
105
#else
106
DtString*
myTag
;
107
#endif
108
bool
myAchieved
;
109
bool
mySuccessful
;
110
DtFederateHandleSet
*
myFederates
;
111
};
112
113
inline
DtSyncPt
*
DtSyncPt::self
()
const
114
{
115
return
const_cast<
DtSyncPt
*
>
( this );
116
}
117
118
119
120
#endif
Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (
www.mak.com
)