MAK RTIspy API Documentation for HLA 1516
simpFedMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: simpFedMgr.h,v $ $Revision: 1.26 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef simpFedMgr_H_
10 #define simpFedMgr_H_
11 
14 
15 #include "rtiMsConfig.h"
16 #include "fedMgr.h"
17 #include <vlutil/vlString.h>
18 
30 {
31 public:
32 
36  DtConnectionMgr* connMgr,
37  DtBoost::shared_ptr<DtRtiAssistantLrcClient> assistantClient);
38 
40  virtual ~DtSimpleFederateMgr();
41 
42 private:
43 
46 
49 
50 public:
51 
54 
55 
57  virtual void createFederationExecution(
58  const char* executionName, const char* timeImplName,
59 #ifdef DtIFSPEC1516E
60  const std::vector<DtString>& fomModules,
61  const char* mimModule);
62 #else
63  const char* fed);
64 #endif
65 
67  virtual void destroyFederationExecution (
68  const char* executionName);
69 
70 #ifdef DtIFSPEC1516E
71 
72  virtual void listFederationExecutions();
73 #endif
74 
76 #ifdef DtIFSPEC1516
78  const char* federateType,
79  const char* executionName,
80  rti1516::FederateAmbassador* federateAmbassadorReference,
81  unsigned long flags);
82 #elif defined(DtIFSPEC1516E)
84  const char* federateName,
85  const char* federateType,
86  const char* executionName,
87  const std::vector<DtString>& fomModules,
88  unsigned long flags);
89 #else
91  const char* federateType,
92  const char* executionName,
93  RTI::FederateAmbassador* federateAmbassadorReference,
94  unsigned long flags);
95 #endif
96 
98 #ifdef DtIFSPEC1516
99  virtual void resignFederationExecution(
100  rti1516::ResignAction theAction);
101 #elif defined(DtIFSPEC1516E)
102  virtual void resignFederationExecution(
103  rti1516e::ResignAction theAction);
104 #else
105  virtual void resignFederationExecution(
106  RTI::ResignAction theAction);
107 #endif
108 
109 
112 
113 
115 #ifdef DtIFSPEC1516
117  char const * label,
118  rti1516::VariableLengthData const & theTag);
119 #elif defined(DtIFSPEC1516E)
121  char const * label,
122  rti1516e::VariableLengthData const & theTag);
123 #else
125  char const * label,
126  char const * theTag);
127 #endif
128 
130 #ifdef DtIFSPEC1516
132  char const * label,
133  rti1516::VariableLengthData const & theTag,
134  DtFederateHandleSet const & syncSet);
135 #elif defined(DtIFSPEC1516E)
137  char const * label,
138  rti1516e::VariableLengthData const & theTag,
139  DtFederateHandleSet const & syncSet);
140 #else
142  char const * label,
143  char const * theTag,
144  DtFederateHandleSet const & syncSet);
145 #endif
146 
148  virtual void synchronizationPointAchieved(
149  const char* label, bool successfully=true);
151 
153  virtual void testSaveProgress();
154 
157 
158 
159 #ifdef DtIFSPEC1516
160 
161  virtual void requestFederationSave (char const * label,
162  rti1516::LogicalTime const * time=NULL);
164  virtual void queryFederationSaveStatus();
166  virtual void queryFederationRestoreStatus();
167 #elif defined(DtIFSPEC1516E)
168 
169  virtual void requestFederationSave (char const * label,
170  rti1516e::LogicalTime const * time=NULL);
172  virtual void queryFederationSaveStatus();
174  virtual void queryFederationRestoreStatus();
176  virtual void abortFederationSave();
178  virtual void abortFederationRestore();
179 #else
180 
181  virtual void requestFederationSave (char const * label,
182  RTI::FedTime const * time=NULL);
183 #endif
184 
185  virtual void federateSaveBegun ();
187  virtual void federateSaveComplete ();
189  virtual void federateSaveNotComplete ();
191  virtual void requestFederationRestore ( const char *label);
193  virtual void federateRestoreComplete ();
195  virtual void federateRestoreNotComplete ();
197 
198 public:
199 
201  static DtFederateMgr* create(DtRIDParameters* params,
202  DtRtiAmbassadorBaseImplementor* ambImplPtr,
203  DtConnectionMgr* connMgr,
204  DtBoost::shared_ptr<DtRtiAssistantLrcClient> assistantClient);
205 };
206 
207 #endif
208 
209 
210 
211 
212 
213 
214 

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)