MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
federateAmbServices13.h
Go to the documentation of this file.
1 //File federateAmbServices13.h
2 //Included in RTI13.h
3 
4 // RTI Parameter Passing Memory Conventions
5 //
6 // C1 In parameter by value.
7 // C2 Out parameter by pointer value.
8 // C3 Function return by value.
9 // C4 In parameter by const pointer value. Caller provides memory.
10 // Caller may free memory or overwrite it upon completion of
11 // the call. Callee must copy during the call anything it
12 // wishes to save beyond completion of the call. Parameter
13 // type must define const accessor methods.
14 // C5 Out parameter by pointer value. Caller provides reference to object.
15 // Callee constructs an instance on the heap (new) and returns.
16 // The caller destroys the instance (delete) at its leisure.
17 // C6 Function return by pointer value. Callee constructs an instance on
18 // the heap (new) and returns a reference. The caller destroys the
19 // instance (delete) at its leisure.
20 //
21 
23 // Federation Management Services //
25 
26 // 4.7
28  const char *label) // supplied C4)
29 throw (
30  FederateInternalError) = 0;
31 
33  const char *label) // supplied C4)
34 throw (
35  FederateInternalError) = 0;
36 
37 // 4.8
38 virtual void announceSynchronizationPoint (
39  const char *label, // supplied C4
40  const char *tag) // supplied C4
41 throw (
42  FederateInternalError) = 0;
43 
44 // 4.10
45 virtual void federationSynchronized (
46  const char *label) // supplied C4)
47 throw (
48  FederateInternalError) = 0;
49 
50 // 4.12
51 virtual void initiateFederateSave (
52  const char *label) // supplied C4
53 throw (
54  UnableToPerformSave,
55  FederateInternalError) = 0;
56 
57 // 4.15
58 virtual void federationSaved ()
59 throw (
60  FederateInternalError) = 0;
61 
62 virtual void federationNotSaved ()
63 throw (
64  FederateInternalError) = 0;
65 
66 // 4.17
68  const char *label) // supplied C4
69 throw (
70  FederateInternalError) = 0;
71 
72 virtual void requestFederationRestoreFailed (
73  const char *label, // supplied C4
74  const char *reason) // supplied C4
75 throw (
76  FederateInternalError) = 0;
77 
78 // 4.18
79 virtual void federationRestoreBegun ()
80 throw (
81  FederateInternalError) = 0;
82 
83 // 4.19
84 virtual void initiateFederateRestore (
85  const char *label, // supplied C4
86  FederateHandle handle) // supplied C1
87 throw (
88  SpecifiedSaveLabelDoesNotExist,
89  CouldNotRestore,
90  FederateInternalError) = 0;
91 
92 // 4.21
93 virtual void federationRestored ()
94 throw (
95  FederateInternalError) = 0;
96 
97 virtual void federationNotRestored ()
98 throw (
99  FederateInternalError) = 0;
100 
102 // Declaration Management Services //
104 
105 // 5.10
106 virtual void startRegistrationForObjectClass (
107  ObjectClassHandle theClass) // supplied C1
108 throw (
109  ObjectClassNotPublished,
110  FederateInternalError) = 0;
111 
112 // 5.11
113 virtual void stopRegistrationForObjectClass (
114  ObjectClassHandle theClass) // supplied C1
115 throw (
116  ObjectClassNotPublished,
117  FederateInternalError) = 0;
118 
119 // 5.12
120 virtual void turnInteractionsOn (
121  InteractionClassHandle theHandle) // supplied C1
122 throw (
123  InteractionClassNotPublished,
124  FederateInternalError) = 0;
125 
126 // 5.13
127 virtual void turnInteractionsOff (
128  InteractionClassHandle theHandle) // supplied C1
129 throw (
130  InteractionClassNotPublished,
131  FederateInternalError) = 0;
132 
134 // Object Management Services //
136 
137 // 6.3
138 virtual void discoverObjectInstance (
139  ObjectHandle theObject, // supplied C1
140  ObjectClassHandle theObjectClass, // supplied C1
141  const char * theObjectName) // supplied C4
142 throw (
143  CouldNotDiscover,
144  ObjectClassNotKnown,
145  FederateInternalError) = 0;
146 
147 // 6.5
148 virtual void reflectAttributeValues (
149  ObjectHandle theObject, // supplied C1
150  const AttributeHandleValuePairSet& theAttributes, // supplied C4
151  const FedTime& theTime, // supplied C1
152  const char *theTag, // supplied C4
153  EventRetractionHandle theHandle) // supplied C1
154 throw (
155  ObjectNotKnown,
156  AttributeNotKnown,
157  FederateOwnsAttributes,
158  InvalidFederationTime,
159  FederateInternalError) = 0;
160 
161 virtual void reflectAttributeValues (
162  ObjectHandle theObject, // supplied C1
163  const AttributeHandleValuePairSet& theAttributes, // supplied C4
164  const char *theTag) // supplied C4
165 throw (
166  ObjectNotKnown,
167  AttributeNotKnown,
168  FederateOwnsAttributes,
169  FederateInternalError) = 0;
170 
171 // 6.7
172 virtual void receiveInteraction (
173  InteractionClassHandle theInteraction, // supplied C1
174  const ParameterHandleValuePairSet& theParameters, // supplied C4
175  const FedTime& theTime, // supplied C4
176  const char *theTag, // supplied C4
177  EventRetractionHandle theHandle) // supplied C1
178 throw (
179  InteractionClassNotKnown,
180  InteractionParameterNotKnown,
181  InvalidFederationTime,
182  FederateInternalError) = 0;
183 
184 virtual void receiveInteraction (
185  InteractionClassHandle theInteraction, // supplied C1
186  const ParameterHandleValuePairSet& theParameters, // supplied C4
187  const char *theTag) // supplied C4
188 throw (
189  InteractionClassNotKnown,
190  InteractionParameterNotKnown,
191  FederateInternalError) = 0;
192 
193 // 6.9
194 virtual void removeObjectInstance (
195  ObjectHandle theObject, // supplied C1
196  const FedTime& theTime, // supplied C4
197  const char *theTag, // supplied C4
198  EventRetractionHandle theHandle) // supplied C1
199 throw (
200  ObjectNotKnown,
201  InvalidFederationTime,
202  FederateInternalError) = 0;
203 
204 virtual void removeObjectInstance (
205  ObjectHandle theObject, // supplied C1
206  const char *theTag) // supplied C4
207 throw (
208  ObjectNotKnown,
209  FederateInternalError) = 0;
210 
211 // 6.13
212 virtual void attributesInScope (
213  ObjectHandle theObject, // supplied C1
214  const AttributeHandleSet& theAttributes) // supplied C4
215 throw (
216  ObjectNotKnown,
217  AttributeNotKnown,
218  FederateInternalError) = 0;
219 
220 // 6.14
221 virtual void attributesOutOfScope (
222  ObjectHandle theObject, // supplied C1
223  const AttributeHandleSet& theAttributes) // supplied C4
224 throw (
225  ObjectNotKnown,
226  AttributeNotKnown,
227  FederateInternalError) = 0;
228 
229 // 6.16
230 virtual void provideAttributeValueUpdate (
231  ObjectHandle theObject, // supplied C1
232  const AttributeHandleSet& theAttributes) // supplied C4
233 throw (
234  ObjectNotKnown,
235  AttributeNotKnown,
236  AttributeNotOwned,
237  FederateInternalError) = 0;
238 
239 // 6.17
240 virtual void turnUpdatesOnForObjectInstance (
241  ObjectHandle theObject, // supplied C1
242  const AttributeHandleSet& theAttributes) // supplied C4
243 throw (
244  ObjectNotKnown,
245  AttributeNotOwned,
246  FederateInternalError) = 0;
247 
248 // 6.18
249 virtual void turnUpdatesOffForObjectInstance (
250  ObjectHandle theObject, // supplied C1
251  const AttributeHandleSet& theAttributes) // supplied C4
252 throw (
253  ObjectNotKnown,
254  AttributeNotOwned,
255  FederateInternalError) = 0;
256 
258 // Ownership Management Services //
260 
261 // 7.4
263  ObjectHandle theObject, // supplied C1
264  const AttributeHandleSet& offeredAttributes, // supplied C4
265  const char *theTag) // supplied C4
266 throw (
267  ObjectNotKnown,
268  AttributeNotKnown,
269  AttributeAlreadyOwned,
270  AttributeNotPublished,
271  FederateInternalError) = 0;
272 
273 // 7.5
275  ObjectHandle theObject, // supplied C1
276  const AttributeHandleSet& releasedAttributes) // supplied C4
277 throw (
278  ObjectNotKnown,
279  AttributeNotKnown,
280  AttributeNotOwned,
281  AttributeDivestitureWasNotRequested,
282  FederateInternalError) = 0;
283 
284 // 7.6
286  ObjectHandle theObject, // supplied C1
287  const AttributeHandleSet& securedAttributes) // supplied C4
288 throw (
289  ObjectNotKnown,
290  AttributeNotKnown,
291  AttributeAcquisitionWasNotRequested,
292  AttributeAlreadyOwned,
293  AttributeNotPublished,
294  FederateInternalError) = 0;
295 
296 // 7.9
297 virtual void attributeOwnershipUnavailable (
298  ObjectHandle theObject, // supplied C1
299  const AttributeHandleSet& theAttributes) // supplied C4
300 throw (
301  ObjectNotKnown,
302  AttributeNotKnown,
303  AttributeNotDefined,
304  AttributeAlreadyOwned,
305  AttributeAcquisitionWasNotRequested,
306  FederateInternalError) = 0;
307 
308 // 7.10
310  ObjectHandle theObject, // supplied C1
311  const AttributeHandleSet& candidateAttributes, // supplied C4
312  const char *theTag) // supplied C4
313 throw (
314  ObjectNotKnown,
315  AttributeNotKnown,
316  AttributeNotOwned,
317  FederateInternalError) = 0;
318 
319 // 7.14
321  ObjectHandle theObject, // supplied C1
322  const AttributeHandleSet& theAttributes) // supplied C4
323 throw (
324  ObjectNotKnown,
325  AttributeNotKnown,
326  AttributeNotDefined,
327  AttributeAlreadyOwned,
328  AttributeAcquisitionWasNotCanceled,
329  FederateInternalError) = 0;
330 
331 // 7.16
332 virtual void informAttributeOwnership (
333  ObjectHandle theObject, // supplied C1
334  AttributeHandle theAttribute, // supplied C1
335  FederateHandle theOwner) // supplied C1
336 throw (
337  ObjectNotKnown,
338  AttributeNotKnown,
339  FederateInternalError) = 0;
340 
341 virtual void attributeIsNotOwned (
342  ObjectHandle theObject, // supplied C1
343  AttributeHandle theAttribute) // supplied C1
344 throw (
345  ObjectNotKnown,
346  AttributeNotKnown,
347  FederateInternalError) = 0;
348 
349 virtual void attributeOwnedByRTI (
350  ObjectHandle theObject, // supplied C1
351  AttributeHandle theAttribute) // supplied C1
352 throw (
353  ObjectNotKnown,
354  AttributeNotKnown,
355  FederateInternalError) = 0;
356 
358 // Time Management Services //
360 
361 // 8.3
362 virtual void timeRegulationEnabled (
363  const FedTime& theFederateTime) // supplied C4
364 throw (
365  InvalidFederationTime,
366  EnableTimeRegulationWasNotPending,
367  FederateInternalError) = 0;
368 
369 // 8.6
370 virtual void timeConstrainedEnabled (
371  const FedTime& theFederateTime) // supplied C4
372 throw (
373  InvalidFederationTime,
374  EnableTimeConstrainedWasNotPending,
375  FederateInternalError) = 0;
376 
377 // 8.13
378 virtual void timeAdvanceGrant (
379  const FedTime& theTime) // supplied C4
380 throw (
381  InvalidFederationTime,
382  TimeAdvanceWasNotInProgress,
383  FederationTimeAlreadyPassed,
384  FederateInternalError) = 0;
385 
386 // 8.22
387 virtual void requestRetraction (
388  EventRetractionHandle theHandle) // supplied C1
389 throw (
390  EventNotKnown,
391  FederateInternalError) = 0;
392 
393 
394 virtual ~FederateAmbassador()
395 throw (FederateInternalError) { ; }

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)