MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fedAmbServ.h
Go to the documentation of this file.
1 //File federateAmbServices.hh
2 //Included in RTI.hh
3 
21 
25 
28  const char *label)
29 throw (
30  FederateInternalError) = 0;
31 
33  const char *label)
34 throw (
35  FederateInternalError) = 0;
36 
38 virtual void announceSynchronizationPoint (
39  const char *label,
40  const char *tag)
41 throw (
42  FederateInternalError) = 0;
43 
45 virtual void federationSynchronized (
46  const char *label)
47 throw (
48  FederateInternalError) = 0;
49 
51 virtual void initiateFederateSave (
52  const char *label)
53 throw (
54  UnableToPerformSave,
55  FederateInternalError) = 0;
56 
58 virtual void federationSaved ()
59 throw (
60  FederateInternalError) = 0;
61 
62 virtual void federationNotSaved ()
63 throw (
64  FederateInternalError) = 0;
65 
68  const char *label)
69 throw (
70  FederateInternalError) = 0;
71 
72 virtual void requestFederationRestoreFailed (
73  const char *label,
74  const char *reason)
75 throw (
76  FederateInternalError) = 0;
77 
79 virtual void federationRestoreBegun ()
80 throw (
81  FederateInternalError) = 0;
82 
84 virtual void initiateFederateRestore (
85  const char *label,
86  FederateHandle handle)
87 throw (
88  SpecifiedSaveLabelDoesNotExist,
89  CouldNotRestore,
90  FederateInternalError) = 0;
91 
93 virtual void federationRestored ()
94 throw (
95  FederateInternalError) = 0;
96 
97 virtual void federationNotRestored ()
98 throw (
99  FederateInternalError) = 0;
100 
104 
106 virtual void startRegistrationForObjectClass (
107  ObjectClassHandle theClass)
108 throw (
109  ObjectClassNotPublished,
110  FederateInternalError) = 0;
111 
113 virtual void stopRegistrationForObjectClass (
114  ObjectClassHandle theClass)
115 throw (
116  ObjectClassNotPublished,
117  FederateInternalError) = 0;
118 
120 virtual void turnInteractionsOn (
121  InteractionClassHandle theHandle)
122 throw (
123  InteractionClassNotPublished,
124  FederateInternalError) = 0;
125 
127 virtual void turnInteractionsOff (
128  InteractionClassHandle theHandle)
129 throw (
130  InteractionClassNotPublished,
131  FederateInternalError) = 0;
132 
136 
138 virtual void discoverObjectInstance (
139  ObjectHandle theObject,
140  ObjectClassHandle theObjectClass,
141  const char * theObjectName)
142 throw (
143  CouldNotDiscover,
144  ObjectClassNotKnown,
145  FederateInternalError) = 0;
146 
148 virtual void reflectAttributeValues (
149  ObjectHandle theObject,
150  const AttributeHandleValuePairSet& theAttributes,
151  const FedTime& theTime,
152  const char *theTag,
153  EventRetractionHandle theHandle)
154 throw (
155  ObjectNotKnown,
156  AttributeNotKnown,
157  FederateOwnsAttributes,
158  InvalidFederationTime,
159  FederateInternalError) = 0;
160 
161 virtual void reflectAttributeValues (
162  ObjectHandle theObject,
163  const AttributeHandleValuePairSet& theAttributes,
164  const char *theTag)
165 throw (
166  ObjectNotKnown,
167  AttributeNotKnown,
168  FederateOwnsAttributes,
169  FederateInternalError) = 0;
170 
172 virtual void receiveInteraction (
173  InteractionClassHandle theInteraction,
174  const ParameterHandleValuePairSet& theParameters,
175  const FedTime& theTime,
176  const char *theTag,
177  EventRetractionHandle theHandle)
178 throw (
179  InteractionClassNotKnown,
180  InteractionParameterNotKnown,
181  InvalidFederationTime,
182  FederateInternalError) = 0;
183 
184 virtual void receiveInteraction (
185  InteractionClassHandle theInteraction,
186  const ParameterHandleValuePairSet& theParameters,
187  const char *theTag)
188 throw (
189  InteractionClassNotKnown,
190  InteractionParameterNotKnown,
191  FederateInternalError) = 0;
192 
194 virtual void removeObjectInstance (
195  ObjectHandle theObject,
196  const FedTime& theTime,
197  const char *theTag,
198  EventRetractionHandle theHandle)
199 throw (
200  ObjectNotKnown,
201  InvalidFederationTime,
202  FederateInternalError) = 0;
203 
204 virtual void removeObjectInstance (
205  ObjectHandle theObject,
206  const char *theTag)
207 throw (
208  ObjectNotKnown,
209  FederateInternalError) = 0;
210 
212 virtual void attributesInScope (
213  ObjectHandle theObject,
214  const AttributeHandleSet& theAttributes)
215 throw (
216  ObjectNotKnown,
217  AttributeNotKnown,
218  FederateInternalError) = 0;
219 
221 virtual void attributesOutOfScope (
222  ObjectHandle theObject,
223  const AttributeHandleSet& theAttributes)
224 throw (
225  ObjectNotKnown,
226  AttributeNotKnown,
227  FederateInternalError) = 0;
228 
230 virtual void provideAttributeValueUpdate (
231  ObjectHandle theObject,
232  const AttributeHandleSet& theAttributes)
233 throw (
234  ObjectNotKnown,
235  AttributeNotKnown,
236  AttributeNotOwned,
237  FederateInternalError) = 0;
238 
240 virtual void turnUpdatesOnForObjectInstance (
241  ObjectHandle theObject,
242  const AttributeHandleSet& theAttributes)
243 throw (
244  ObjectNotKnown,
245  AttributeNotOwned,
246  FederateInternalError) = 0;
247 
249 virtual void turnUpdatesOffForObjectInstance (
250  ObjectHandle theObject,
251  const AttributeHandleSet& theAttributes)
252 throw (
253  ObjectNotKnown,
254  AttributeNotOwned,
255  FederateInternalError) = 0;
256 
260 
263  ObjectHandle theObject,
264  const AttributeHandleSet& offeredAttributes,
265  const char *theTag)
266 throw (
267  ObjectNotKnown,
268  AttributeNotKnown,
269  AttributeAlreadyOwned,
270  AttributeNotPublished,
271  FederateInternalError) = 0;
272 
275  ObjectHandle theObject,
276  const AttributeHandleSet& releasedAttributes)
277 throw (
278  ObjectNotKnown,
279  AttributeNotKnown,
280  AttributeNotOwned,
281  AttributeDivestitureWasNotRequested,
282  FederateInternalError) = 0;
283 
286  ObjectHandle theObject,
287  const AttributeHandleSet& securedAttributes)
288 throw (
289  ObjectNotKnown,
290  AttributeNotKnown,
291  AttributeAcquisitionWasNotRequested,
292  AttributeAlreadyOwned,
293  AttributeNotPublished,
294  FederateInternalError) = 0;
295 
297 virtual void attributeOwnershipUnavailable (
298  ObjectHandle theObject,
299  const AttributeHandleSet& theAttributes)
300 throw (
301  ObjectNotKnown,
302  AttributeNotKnown,
303  AttributeNotDefined,
304  AttributeAlreadyOwned,
305  AttributeAcquisitionWasNotRequested,
306  FederateInternalError) = 0;
307 
310  ObjectHandle theObject,
311  const AttributeHandleSet& candidateAttributes,
312  const char *theTag)
313 throw (
314  ObjectNotKnown,
315  AttributeNotKnown,
316  AttributeNotOwned,
317  FederateInternalError) = 0;
318 
321  ObjectHandle theObject,
322  const AttributeHandleSet& theAttributes)
323 throw (
324  ObjectNotKnown,
325  AttributeNotKnown,
326  AttributeNotDefined,
327  AttributeAlreadyOwned,
328  AttributeAcquisitionWasNotCanceled,
329  FederateInternalError) = 0;
330 
332 virtual void informAttributeOwnership (
333  ObjectHandle theObject,
334  AttributeHandle theAttribute,
335  FederateHandle theOwner)
336 throw (
337  ObjectNotKnown,
338  AttributeNotKnown,
339  FederateInternalError) = 0;
340 
341 virtual void attributeIsNotOwned (
342  ObjectHandle theObject,
343  AttributeHandle theAttribute)
344 throw (
345  ObjectNotKnown,
346  AttributeNotKnown,
347  FederateInternalError) = 0;
348 
349 virtual void attributeOwnedByRTI (
350  ObjectHandle theObject,
351  AttributeHandle theAttribute)
352 throw (
353  ObjectNotKnown,
354  AttributeNotKnown,
355  FederateInternalError) = 0;
356 
360 
362 virtual void timeRegulationEnabled (
363  const FedTime& theFederateTime)
364 throw (
365  InvalidFederationTime,
366  EnableTimeRegulationWasNotPending,
367  FederateInternalError) = 0;
368 
370 virtual void timeConstrainedEnabled (
371  const FedTime& theFederateTime)
372 throw (
373  InvalidFederationTime,
374  EnableTimeConstrainedWasNotPending,
375  FederateInternalError) = 0;
376 
378 virtual void timeAdvanceGrant (
379  const FedTime& theTime)
380 throw (
381  InvalidFederationTime,
382  TimeAdvanceWasNotInProgress,
383  FederationTimeAlreadyPassed,
384  FederateInternalError) = 0;
385 
387 virtual void requestRetraction (
388  EventRetractionHandle theHandle)
389 throw (
390  EventNotKnown,
391  FederateInternalError) = 0;
392 
393 
394 virtual ~FederateAmbassador()
395 throw (FederateInternalError) { ; }

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)