MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <rtiApiTypes.h>
17 
18 #include <vlutil/vlMachineTypes.h>
19 #include <vlutil/vlString.h>
20 
21 
23 
25 {
26 public:
28  DtSyncPt(char const* name, DtRtiApiTagConstPtr tag, bool achieved);
29 
30  DtSyncPt(char const* name, DtRtiApiTagConstPtr tag, bool achieved, DtFederateHandleSet const * fSet);
31 
33  DtSyncPt();
34 
36  DtSyncPt(const DtSyncPt& item);
37 
39  virtual ~DtSyncPt();
40 
42  virtual void setName(char const* newName);
43  virtual char const* name() const;
44 
46  virtual void setTag(DtRtiApiTagConstPtr newTag);
47  virtual DtRtiApiTagConstPtr tag() const;
48 
50  virtual void setAchieved(bool newAchieved);
51  virtual bool achieved() const;
52 
54  virtual void setSuccessful(bool successful);
55  virtual bool successful() const;
56 
59  virtual void setFederates(DtFederateHandleSet const * fSet);
60  virtual DtFederateHandleSet const * federates() const;
61 
62 protected:
64  virtual DtSyncPt* self() const;
65 
66 protected:
67 
68  MAKRti::DtString myName;
70  bool myAchieved;
73 };
74 
75 inline DtSyncPt* DtSyncPt::self() const
76 {
77  return const_cast<DtSyncPt*>( this );
78 }
79 
80 
81 
82 #endif
virtual DtSyncPt * self() const
Casts away const-ness.
Definition: syncPt.h:75
DtRtiApiVariableLengthData * DtRtiApiTagPtr
Definition: rtiApiTypes.h:100
Definition: syncPt.h:24
DtRtiApiVariableLengthData const * DtRtiApiTagConstPtr
Definition: rtiApiTypes.h:99
DtFederateHandleSet * myFederates
Definition: syncPt.h:72
Definition: fedHandleSet.h:61
DtRtiApiTagPtr myTag
Definition: syncPt.h:69
MAKRti::DtString myName
Definition: syncPt.h:68
bool mySuccessful
Definition: syncPt.h:71
bool myAchieved
Definition: syncPt.h:70
#define DT_DLL_EXEC
Definition: rtiMsConfig.h:152

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)