VR-Link API Documentation for DIS
nullFedAmb1516e.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
7 #if DtHLA
8 #if DtHLA_1516
9 #if DtHLA_1516_EVOLVED
10 
13 
14 #pragma once
15 
16 #include <RTI/Exception.h>
17 #include <RTI/FederateAmbassador.h>
18 
19 #include "rtiNamespace.h"
20 #include <vlutil/vlMachineTypes.h>
21 
22 class DT_DLL_VL DtNullFederateAmbassador : public RTI::FederateAmbassador
23 {
24 public:
25  DtNullFederateAmbassador()
26  throw (RTI::FederateInternalError) {}
27 
28  virtual
29  ~DtNullFederateAmbassador()
30  throw () {}
31 
32 protected:
33 
35  DtNullFederateAmbassador( const DtNullFederateAmbassador& src );
37  DtNullFederateAmbassador& operator=( const DtNullFederateAmbassador& src );
38 
39 
40 
41  // 4.4
42  virtual void connectionLost (
43  std::wstring const & faultDescription)
44  throw (
45  RTI::FederateInternalError) {}
46 
47  // 4.8
48  virtual void reportFederationExecutions (
49  RTI::FederationExecutionInformationVector const &
50  theFederationExecutionInformationList)
51  throw (
52  RTI::FederateInternalError) {}
53 
54  // 4.12
55  virtual void synchronizationPointRegistrationSucceeded (
56  std::wstring const & label)
57  throw (
58  RTI::FederateInternalError) {}
59 
60  virtual void synchronizationPointRegistrationFailed (
61  std::wstring const & label,
62  RTI::SynchronizationPointFailureReason reason)
63  throw (
64  RTI::FederateInternalError) {}
65 
66  // 4.13
67  virtual void announceSynchronizationPoint (
68  std::wstring const & label,
69  RTI::VariableLengthData const & theUserSuppliedTag)
70  throw (
71  RTI::FederateInternalError) {}
72 
73  // 4.15
74  virtual void federationSynchronized (
75  std::wstring const & label,
76  RTI::FederateHandleSet const& failedToSyncSet)
77  throw (
78  RTI::FederateInternalError) {}
79 
80  // 4.17
81  virtual void initiateFederateSave (
82  std::wstring const & label)
83  throw (
84  RTI::FederateInternalError) {}
85 
86  virtual void initiateFederateSave (
87  std::wstring const & label,
88  RTI::LogicalTime const & theTime)
89  throw (
90  RTI::FederateInternalError) {}
91 
92  // 4.20
93  virtual void federationSaved ()
94  throw (
95  RTI::FederateInternalError) {}
96 
97  virtual void federationNotSaved (
98  RTI::SaveFailureReason theSaveFailureReason)
99  throw (
100  RTI::FederateInternalError) {}
101 
102 
103  // 4.23
104  virtual void federationSaveStatusResponse (
105  RTI::FederateHandleSaveStatusPairVector const &
106  theFederateStatusVector)
107  throw (
108  RTI::FederateInternalError) {}
109 
110  // 4.25
111  virtual void requestFederationRestoreSucceeded (
112  std::wstring const & label)
113  throw (
114  RTI::FederateInternalError) {}
115 
116  virtual void requestFederationRestoreFailed (
117  std::wstring const & label)
118  throw (
119  RTI::FederateInternalError) {}
120 
121  // 4.26
122  virtual void federationRestoreBegun ()
123  throw (
124  RTI::FederateInternalError) {}
125 
126  // 4.27
127  virtual void initiateFederateRestore (
128  std::wstring const & label,
129  std::wstring const & federateName,
130  RTI::FederateHandle handle)
131  throw (
132  RTI::FederateInternalError) {}
133 
134  // 4.29
135  virtual void federationRestored ()
136  throw (
137  RTI::FederateInternalError) {}
138 
139  virtual void federationNotRestored (
140  RTI::RestoreFailureReason theRestoreFailureReason)
141  throw (
142  RTI::FederateInternalError) {}
143 
144  // 4.32
145  virtual void federationRestoreStatusResponse (
146  RTI::FederateRestoreStatusVector const &
147  theFederateRestoreStatusVector)
148  throw (
149  RTI::FederateInternalError) {}
150 
152  // Declaration Management Services //
154 
155  // 5.10
156  virtual void startRegistrationForObjectClass (
157  RTI::ObjectClassHandle theClass)
158  throw (
159  RTI::FederateInternalError) {}
160 
161  // 5.11
162  virtual void stopRegistrationForObjectClass (
163  RTI::ObjectClassHandle theClass)
164  throw (
165  RTI::FederateInternalError) {}
166 
167  // 5.12
168  virtual void turnInteractionsOn (
169  RTI::InteractionClassHandle theHandle)
170  throw (
171  RTI::FederateInternalError) {}
172 
173  // 5.13
174  virtual void turnInteractionsOff (
175  RTI::InteractionClassHandle theHandle)
176  throw (
177  RTI::FederateInternalError) {}
178 
180  // Object Management Services //
182 
183  // 6.3
184  virtual void objectInstanceNameReservationSucceeded (
185  std::wstring const & theObjectInstanceName)
186  throw (
187  RTI::FederateInternalError) {}
188 
189  virtual void objectInstanceNameReservationFailed (
190  std::wstring const & theObjectInstanceName)
191  throw (
192  RTI::FederateInternalError) {}
193 
194  // 6.6
195  virtual void multipleObjectInstanceNameReservationSucceeded (
196  std::set<std::wstring> const & theObjectInstanceNames)
197  throw (
198  RTI::FederateInternalError) {}
199 
200  virtual void multipleObjectInstanceNameReservationFailed (
201  std::set<std::wstring> const & theObjectInstanceNames)
202  throw (
203  RTI::FederateInternalError) {}
204 
205 
206  // 6.9
207  virtual void discoverObjectInstance (
208  RTI::ObjectInstanceHandle theObject,
209  RTI::ObjectClassHandle theObjectClass,
210  std::wstring const & theObjectInstanceName)
211  throw (
212  RTI::FederateInternalError) {}
213 
214  virtual void discoverObjectInstance (
215  RTI::ObjectInstanceHandle theObject,
216  RTI::ObjectClassHandle theObjectClass,
217  std::wstring const & theObjectInstanceName,
218  RTI::FederateHandle producingFederate)
219  throw (
220  RTI::FederateInternalError) {}
221 
222  // 6.11
223  virtual void reflectAttributeValues (
224  RTI::ObjectInstanceHandle theObject,
225  RTI::AttributeHandleValueMap const & theAttributeValues,
226  RTI::VariableLengthData const & theUserSuppliedTag,
227  RTI::OrderType sentOrder,
228  RTI::TransportationType theType,
229  RTI::SupplementalReflectInfo theReflectInfo)
230  throw (
231  RTI::FederateInternalError) {}
232 
233  virtual void reflectAttributeValues (
234  RTI::ObjectInstanceHandle theObject,
235  RTI::AttributeHandleValueMap const & theAttributeValues,
236  RTI::VariableLengthData const & theUserSuppliedTag,
237  RTI::OrderType sentOrder,
238  RTI::TransportationType theType,
239  RTI::LogicalTime const & theTime,
240  RTI::OrderType receivedOrder,
241  RTI::SupplementalReflectInfo theReflectInfo)
242  throw (
243  RTI::FederateInternalError) {}
244 
245  virtual void reflectAttributeValues (
246  RTI::ObjectInstanceHandle theObject,
247  RTI::AttributeHandleValueMap const & theAttributeValues,
248  RTI::VariableLengthData const & theUserSuppliedTag,
249  RTI::OrderType sentOrder,
250  RTI::TransportationType theType,
251  RTI::LogicalTime const & theTime,
252  RTI::OrderType receivedOrder,
253  RTI::MessageRetractionHandle theHandle,
254  RTI::SupplementalReflectInfo theReflectInfo)
255  throw (
256  RTI::FederateInternalError) {}
257 
258  // 6.13
259  virtual void receiveInteraction (
260  RTI::InteractionClassHandle theInteraction,
261  RTI::ParameterHandleValueMap const & theParameterValues,
262  RTI::VariableLengthData const & theUserSuppliedTag,
263  RTI::OrderType sentOrder,
264  RTI::TransportationType theType,
265  RTI::SupplementalReceiveInfo theReceiveInfo)
266  throw (
267  RTI::FederateInternalError) {}
268 
269  virtual void receiveInteraction (
270  RTI::InteractionClassHandle theInteraction,
271  RTI::ParameterHandleValueMap const & theParameterValues,
272  RTI::VariableLengthData const & theUserSuppliedTag,
273  RTI::OrderType sentOrder,
274  RTI::TransportationType theType,
275  RTI::LogicalTime const & theTime,
276  RTI::OrderType receivedOrder,
277  RTI::SupplementalReceiveInfo theReceiveInfo)
278  throw (
279  RTI::FederateInternalError) {}
280 
281  virtual void receiveInteraction (
282  RTI::InteractionClassHandle theInteraction,
283  RTI::ParameterHandleValueMap const & theParameterValues,
284  RTI::VariableLengthData const & theUserSuppliedTag,
285  RTI::OrderType sentOrder,
286  RTI::TransportationType theType,
287  RTI::LogicalTime const & theTime,
288  RTI::OrderType receivedOrder,
289  RTI::MessageRetractionHandle theHandle,
290  RTI::SupplementalReceiveInfo theReceiveInfo)
291  throw (
292  RTI::FederateInternalError) {}
293 
294  // 6.15
295  virtual void removeObjectInstance (
296  RTI::ObjectInstanceHandle theObject,
297  RTI::VariableLengthData const & theUserSuppliedTag,
298  RTI::OrderType sentOrder,
299  RTI::SupplementalRemoveInfo theRemoveInfo)
300  throw (
301  RTI::FederateInternalError) {}
302 
303  virtual void removeObjectInstance (
304  RTI::ObjectInstanceHandle theObject,
305  RTI::VariableLengthData const & theUserSuppliedTag,
306  RTI::OrderType sentOrder,
307  RTI::LogicalTime const & theTime,
308  RTI::OrderType receivedOrder,
309  RTI::SupplementalRemoveInfo theRemoveInfo)
310  throw (
311  RTI::FederateInternalError) {}
312 
313  virtual void removeObjectInstance (
314  RTI::ObjectInstanceHandle theObject,
315  RTI::VariableLengthData const & theUserSuppliedTag,
316  RTI::OrderType sentOrder,
317  RTI::LogicalTime const & theTime,
318  RTI::OrderType receivedOrder,
319  RTI::MessageRetractionHandle theHandle,
320  RTI::SupplementalRemoveInfo theRemoveInfo)
321  throw (
322  RTI::FederateInternalError) {}
323 
324  // 6.17
325  virtual void attributesInScope (
326  RTI::ObjectInstanceHandle theObject,
327  RTI::AttributeHandleSet const & theAttributes)
328  throw (
329  RTI::FederateInternalError) {}
330 
331  // 6.18
332  virtual void attributesOutOfScope (
333  RTI::ObjectInstanceHandle theObject,
334  RTI::AttributeHandleSet const & theAttributes)
335  throw (
336  RTI::FederateInternalError) {}
337 
338  // 6.20
339  virtual void provideAttributeValueUpdate (
340  RTI::ObjectInstanceHandle theObject,
341  RTI::AttributeHandleSet const & theAttributes,
342  RTI::VariableLengthData const & theUserSuppliedTag)
343  throw (
344  RTI::FederateInternalError) {}
345 
346  // 6.21
347  virtual void turnUpdatesOnForObjectInstance (
348  RTI::ObjectInstanceHandle theObject,
349  RTI::AttributeHandleSet const & theAttributes)
350  throw (
351  RTI::FederateInternalError) {}
352 
353  virtual void turnUpdatesOnForObjectInstance (
354  RTI::ObjectInstanceHandle theObject,
355  RTI::AttributeHandleSet const & theAttributes,
356  std::wstring const & updateRateDesignator)
357  throw (
358  RTI::FederateInternalError) {}
359 
360  // 6.22
361  virtual void turnUpdatesOffForObjectInstance (
362  RTI::ObjectInstanceHandle theObject,
363  RTI::AttributeHandleSet const & theAttributes)
364  throw (
365  RTI::FederateInternalError) {}
366 
367  // 6.24
368  virtual void confirmAttributeTransportationTypeChange (
369  RTI::ObjectInstanceHandle theObject,
370  RTI::AttributeHandleSet theAttributes,
371  RTI::TransportationType theTransportation)
372  throw (
373  RTI::FederateInternalError) {}
374 
375  // 6.26
376  virtual void reportAttributeTransportationType (
377  RTI::ObjectInstanceHandle theObject,
378  RTI::AttributeHandle theAttribute,
379  RTI::TransportationType theTransportation)
380  throw (
381  RTI::FederateInternalError) {}
382 
383  // 6.28
384  virtual void confirmInteractionTransportationTypeChange (
385  RTI::InteractionClassHandle theInteraction,
386  RTI::TransportationType theTransportation)
387  throw (
388  RTI::FederateInternalError) {}
389 
390  // 6.30
391  virtual void reportInteractionTransportationType (
392  RTI::FederateHandle federateHandle,
393  RTI::InteractionClassHandle theInteraction,
394  RTI::TransportationType theTransportation)
395  throw (
396  RTI::FederateInternalError) {}
397 
398 
400  // Ownership Management Services //
402 
403  // 7.4
404  virtual void requestAttributeOwnershipAssumption (
405  RTI::ObjectInstanceHandle theObject,
406  RTI::AttributeHandleSet const & offeredAttributes,
407  RTI::VariableLengthData const & theUserSuppliedTag)
408  throw (
409  RTI::FederateInternalError) {}
410 
411  // 7.5
412  virtual void requestDivestitureConfirmation (
413  RTI::ObjectInstanceHandle theObject,
414  RTI::AttributeHandleSet const & releasedAttributes)
415  throw (
416  RTI::FederateInternalError) {}
417 
418  // 7.7
419  virtual void attributeOwnershipAcquisitionNotification (
420  RTI::ObjectInstanceHandle theObject,
421  RTI::AttributeHandleSet const & securedAttributes,
422  RTI::VariableLengthData const & theUserSuppliedTag)
423  throw (
424  RTI::FederateInternalError) {}
425 
426  // 7.10
427  virtual void attributeOwnershipUnavailable (
428  RTI::ObjectInstanceHandle theObject,
429  RTI::AttributeHandleSet const & theAttributes)
430  throw (
431  RTI::FederateInternalError) {}
432 
433  // 7.11
434  virtual void requestAttributeOwnershipRelease (
435  RTI::ObjectInstanceHandle theObject,
436  RTI::AttributeHandleSet const & candidateAttributes,
437  RTI::VariableLengthData const & theUserSuppliedTag)
438  throw (
439  RTI::FederateInternalError) {}
440 
441  // 7.16
442  virtual void confirmAttributeOwnershipAcquisitionCancellation (
443  RTI::ObjectInstanceHandle theObject,
444  RTI::AttributeHandleSet const & theAttributes)
445  throw (
446  RTI::FederateInternalError) {}
447 
448  // 7.18
449  virtual void informAttributeOwnership (
450  RTI::ObjectInstanceHandle theObject,
451  RTI::AttributeHandle theAttribute,
452  RTI::FederateHandle theOwner)
453  throw (
454  RTI::FederateInternalError) {}
455 
456  virtual void attributeIsNotOwned (
457  RTI::ObjectInstanceHandle theObject,
458  RTI::AttributeHandle theAttribute)
459  throw (
460  RTI::FederateInternalError) {}
461 
462  virtual void attributeIsOwnedByRTI (
463  RTI::ObjectInstanceHandle theObject,
464  RTI::AttributeHandle theAttribute)
465  throw (
466  RTI::FederateInternalError) {}
467 
469  // Time Management Services //
471 
472  // 8.3
473  virtual void timeRegulationEnabled (
474  RTI::LogicalTime const & theFederateTime)
475  throw (
476  RTI::FederateInternalError) {}
477 
478  // 8.6
479  virtual void timeConstrainedEnabled (
480  RTI::LogicalTime const & theFederateTime)
481  throw (
482  RTI::FederateInternalError) {}
483 
484  // 8.13
485  virtual void timeAdvanceGrant (
486  RTI::LogicalTime const & theTime)
487  throw (
488  RTI::FederateInternalError) {}
489 
490  // 8.22
491  virtual void requestRetraction (
492  RTI::MessageRetractionHandle theHandle)
493  throw (
494  RTI::FederateInternalError) {}
495 
496 };
497 
498 #endif
499 #endif
500 #endif
501 
502 
503 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)