MAK RTIspy API Documentation for HLA 1.3
NullFederateAmbassador13.h
Go to the documentation of this file.
1 //File NullFederateAmbassador13.h
2 
3 #ifndef NullFederateAmbassador13_h
4 #define NullFederateAmbassador13_h
5 
6 #include <RTI13.h>
7 
8 //-----------------------------------------------------------------
9 // RTI Parameter Passing Memory Conventions
10 //
11 // C1 In parameter by value.
12 // C2 Out parameter by reference.
13 // C3 Function return by value.
14 // C4 In parameter by const reference. Caller provides memory.
15 // Caller may free memory or overwrite it upon completion of
16 // the call. Callee must copy during the call anything it
17 // wishes to save beyond completion of the call. Parameter
18 // type must define const accessor methods.
19 // C5 Out parameter by reference. Caller provides reference to object.
20 // Callee constructs an instance on the heap (new) and returns.
21 // The caller destroys the instance (delete) at its leisure.
22 // C6 Function return by reference. Callee constructs an instance on
23 // the heap (new) and returns a reference. The caller destroys the
24 // instance (delete) at its leisure.
25 //-----------------------------------------------------------------
26 
27 #ifndef NULL_AMBASSADOR_EXPORT
28 #define NULL_AMBASSADOR_EXPORT
29 #endif
30 
31 namespace rti13
32 {
33 
36 {
37 public:
38 
41 throw (FederateInternalError) {}
42 
44 // Federation Management Services //
46 
48  const char *label) // supplied C4)
49 throw (
50  FederateInternalError) {}
51 
53  const char *label) // supplied C4)
54 throw (
55  FederateInternalError) {}
56 
58  const char *label, // supplied C4
59  const char *tag) // supplied C4
60 throw (
61  FederateInternalError) {}
62 
63 virtual void federationSynchronized (
64  const char *label) // supplied C4)
65 throw (
66  FederateInternalError) {}
67 
68 virtual void initiateFederateSave (
69  const char *label) // supplied C4
70 throw (
71  UnableToPerformSave,
72  FederateInternalError) {}
73 
74 virtual void federationSaved ()
75 throw (
76  FederateInternalError) {}
77 
78 virtual void federationNotSaved ()
79 throw (
80  FederateInternalError) {}
81 
83  const char *label) // supplied C4
84 throw (
85  FederateInternalError) {}
86 
88  const char *label,
89  const char *reason) // supplied C4
90 throw (
91  FederateInternalError) {}
92 
93 virtual void federationRestoreBegun ()
94 throw (
95  FederateInternalError) {}
96 
98  const char *label, // supplied C4
99  FederateHandle handle) // supplied C1
100 throw (
101  SpecifiedSaveLabelDoesNotExist,
102  CouldNotRestore,
103  FederateInternalError) {}
104 
105 virtual void federationRestored ()
106 throw (
107  FederateInternalError) {}
108 
109 virtual void federationNotRestored ()
110 throw (
111  FederateInternalError) {}
112 
114 // Declaration Management Services //
116 
118  ObjectClassHandle theClass) // supplied C1
119 throw (
120  ObjectClassNotPublished,
121  FederateInternalError) {}
122 
124  ObjectClassHandle theClass) // supplied C1
125 throw (
126  ObjectClassNotPublished,
127  FederateInternalError) {}
128 
129 virtual void turnInteractionsOn (
130  InteractionClassHandle theHandle) // supplied C1
131 throw (
132  InteractionClassNotPublished,
133  FederateInternalError) {}
134 
135 virtual void turnInteractionsOff (
136  InteractionClassHandle theHandle) // supplied C1
137 throw (
138  InteractionClassNotPublished,
139  FederateInternalError) {}
140 
142 // Object Management Services //
144 
146  ObjectHandle theObject, // supplied C1
147  ObjectClassHandle theObjectClass, // supplied C1
148  const char* theObjectName) // supplied C4
149 throw (
150  CouldNotDiscover,
151  ObjectClassNotKnown,
152  FederateInternalError) {}
153 
155  ObjectHandle theObject, // supplied C1
156  const AttributeHandleValuePairSet& theAttributes, // supplied C4
157  const FedTime& theTime, // supplied C1
158  const char *theTag, // supplied C4
159  EventRetractionHandle theHandle) // supplied C1
160 throw (
161  ObjectNotKnown,
162  AttributeNotKnown,
163  FederateOwnsAttributes,
164  InvalidFederationTime,
165  FederateInternalError) {}
166 
168  ObjectHandle theObject, // supplied C1
169  const AttributeHandleValuePairSet& theAttributes, // supplied C4
170  const char *theTag) // supplied C4
171 throw (
172  ObjectNotKnown,
173  AttributeNotKnown,
174  FederateOwnsAttributes,
175  FederateInternalError) {}
176 
177 // 4.6
178 virtual void receiveInteraction (
179  InteractionClassHandle theInteraction, // supplied C1
180  const ParameterHandleValuePairSet& theParameters, // supplied C4
181  const FedTime& theTime, // supplied C4
182  const char *theTag, // supplied C4
183  EventRetractionHandle theHandle) // supplied C1
184 throw (
185  InteractionClassNotKnown,
186  InteractionParameterNotKnown,
187  InvalidFederationTime,
188  FederateInternalError) {}
189 
190 virtual void receiveInteraction (
191  InteractionClassHandle theInteraction, // supplied C1
192  const ParameterHandleValuePairSet& theParameters, // supplied C4
193  const char *theTag) // supplied C4
194 throw (
195  InteractionClassNotKnown,
196  InteractionParameterNotKnown,
197  FederateInternalError) {}
198 
199 virtual void removeObjectInstance (
200  ObjectHandle theObject, // supplied C1
201  const FedTime& theTime, // supplied C4
202  const char *theTag, // supplied C4
203  EventRetractionHandle theHandle) // supplied C1
204 throw (
205  ObjectNotKnown,
206  InvalidFederationTime,
207  FederateInternalError) {}
208 
209 virtual void removeObjectInstance (
210  ObjectHandle theObject, // supplied C1
211  const char *theTag) // supplied C4
212 throw (
213  ObjectNotKnown,
214  FederateInternalError) {}
215 
216 virtual void attributesInScope (
217  ObjectHandle theObject, // supplied C1
218  const AttributeHandleSet& theAttributes) // supplied C4
219 throw (
220  ObjectNotKnown,
221  AttributeNotKnown,
222  FederateInternalError) {}
223 
224 virtual void attributesOutOfScope (
225  ObjectHandle theObject, // supplied C1
226  const AttributeHandleSet& theAttributes) // supplied C4
227 throw (
228  ObjectNotKnown,
229  AttributeNotKnown,
230  FederateInternalError) {}
231 
233  ObjectHandle theObject, // supplied C1
234  const AttributeHandleSet& theAttributes) // supplied C4
235 throw (
236  ObjectNotKnown,
237  AttributeNotKnown,
238  AttributeNotOwned,
239  FederateInternalError) {}
240 
242  ObjectHandle theObject, // supplied C1
243  const AttributeHandleSet& theAttributes) // supplied C4
244 throw (
245  ObjectNotKnown,
246  AttributeNotOwned,
247  FederateInternalError) {}
248 
250  ObjectHandle theObject, // supplied C1
251  const AttributeHandleSet& theAttributes) // supplied C4
252 throw (
253  ObjectNotKnown,
254  AttributeNotOwned,
255  FederateInternalError) {}
256 
258 // Ownership Management Services //
260 
262  ObjectHandle theObject, // supplied C1
263  const AttributeHandleSet& offeredAttributes, // supplied C4
264  const char *theTag) // supplied C4
265 throw (
266  ObjectNotKnown,
267  AttributeNotKnown,
268  AttributeAlreadyOwned,
269  AttributeNotPublished,
270  FederateInternalError) {}
271 
273  ObjectHandle theObject, // supplied C1
274  const AttributeHandleSet& releasedAttributes) // supplied C4
275 throw (
276  ObjectNotKnown,
277  AttributeNotKnown,
278  AttributeNotOwned,
279  AttributeDivestitureWasNotRequested,
280  FederateInternalError) {}
281 
283  ObjectHandle theObject, // supplied C1
284  const AttributeHandleSet& securedAttributes) // supplied C4
285 throw (
286  ObjectNotKnown,
287  AttributeNotKnown,
288  AttributeAcquisitionWasNotRequested,
289  AttributeAlreadyOwned,
290  AttributeNotPublished,
291  FederateInternalError) {}
292 
294  ObjectHandle theObject, // supplied C1
295  const AttributeHandleSet& theAttributes) // supplied C4
296 throw (
297  ObjectNotKnown,
298  AttributeNotKnown,
299  AttributeAlreadyOwned,
300  AttributeAcquisitionWasNotRequested,
301  FederateInternalError) {}
302 
304  ObjectHandle theObject, // supplied C1
305  const AttributeHandleSet& candidateAttributes, // supplied C4
306  const char *theTag) // supplied C4
307 throw (
308  ObjectNotKnown,
309  AttributeNotKnown,
310  AttributeNotOwned,
311  FederateInternalError) {}
312 
314  ObjectHandle theObject, // supplied C1
315  const AttributeHandleSet& theAttributes) // supplied C4
316 throw (
317  ObjectNotKnown,
318  AttributeNotKnown,
319  AttributeAlreadyOwned,
320  AttributeAcquisitionWasNotCanceled,
321  FederateInternalError) {}
322 
324  ObjectHandle theObject, // supplied C1
325  AttributeHandle theAttribute, // supplied C1
326  FederateHandle theOwner) // supplied C1
327 throw (
328  ObjectNotKnown,
329  AttributeNotKnown,
330  FederateInternalError) {}
331 
332 virtual void attributeIsNotOwned (
333  ObjectHandle theObject, // supplied C1
334  AttributeHandle theAttribute) // supplied C1
335 throw (
336  ObjectNotKnown,
337  AttributeNotKnown,
338  FederateInternalError) {}
339 
340 virtual void attributeOwnedByRTI (
341  ObjectHandle theObject, // supplied C1
342  AttributeHandle theAttribute) // supplied C1
343 throw (
344  ObjectNotKnown,
345  AttributeNotKnown,
346  FederateInternalError) {}
347 
349 // Time Management Services //
351 
352 virtual void timeRegulationEnabled (
353  const FedTime& theFederateTime) // supplied C4
354 throw (
355  InvalidFederationTime,
356  EnableTimeRegulationWasNotPending,
357  FederateInternalError) {}
358 
360  const FedTime& theFederateTime) // supplied C4
361 throw (
362  InvalidFederationTime,
363  EnableTimeConstrainedWasNotPending,
364  FederateInternalError) {}
365 
366 virtual void timeAdvanceGrant (
367  const FedTime& theTime) // supplied C4
368 throw (
369  InvalidFederationTime,
370  TimeAdvanceWasNotInProgress,
371  FederateInternalError) {}
372 
373 virtual void requestRetraction (
374  EventRetractionHandle theHandle) // supplied C1
375 throw (
376  EventNotKnown,
377  FederateInternalError) {}
378 };
379 
380 } // End of namespace rti13
381 
382 #endif // NullFederateAmbassador13_h

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)