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

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)