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) { ; }
Handle ObjectHandle
Definition: RTItypes13.h:116
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
virtual void informAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute, FederateHandle theOwner)=0
7.16
virtual void attributeOwnershipDivestitureNotification(ObjectHandle theObject, const AttributeHandleSet &releasedAttributes)=0
7.5
virtual void initiateFederateRestore(const char *label, FederateHandle handle)=0
4.19
virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.14
virtual void startRegistrationForObjectClass(ObjectClassHandle theClass)=0
! Declaration Management Services //!
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
ULong InteractionClassHandle
Definition: RTItypes13.h:106
virtual void federationNotRestored()=0
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
virtual void attributeOwnedByRTI(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
virtual void synchronizationPointRegistrationSucceeded(const char *label)=0
RTI Parameter Passing Memory Conventions.
virtual void initiateFederateSave(const char *label)=0
4.12
struct EventRetractionHandle_s EventRetractionHandle
Definition: RTItypes13.h:525
virtual void timeAdvanceGrant(const FedTime &theTime)=0
8.13
virtual void announceSynchronizationPoint(const char *label, const char *tag)=0
4.8
virtual void requestFederationRestoreFailed(const char *label, const char *reason)=0
supplied C4
virtual void federationNotSaved()=0
virtual void federationSynchronized(const char *label)=0
4.10
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
virtual void attributeOwnershipAcquisitionNotification(ObjectHandle theObject, const AttributeHandleSet &securedAttributes)=0
7.6
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
virtual void federationRestored()=0
4.21
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
virtual void turnUpdatesOffForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.18
ULong FederateHandle
Definition: RTItypes13.h:120
virtual void requestAttributeOwnershipAssumption(ObjectHandle theObject, const AttributeHandleSet &offeredAttributes, const char *theTag)=0
! Ownership Management Services //!
virtual Boolean throw(SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted, RTIinternalError)
virtual void turnUpdatesOnForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.17
virtual void stopRegistrationForObjectClass(ObjectClassHandle theClass)=0
5.11
virtual void attributeIsNotOwned(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
ULong ObjectClassHandle
Definition: RTItypes13.h:104
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
Handle AttributeHandle
Definition: RTItypes13.h:112

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)