VR-Link API Documentation for DIS
nullFedAmb13.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
11 
12 #if DtHLA
13 #if !DtHLA_1516
14 
17 
18 #ifndef DtNullFederateAmbassador_H_
19 #define DtNullFederateAmbassador_H_
20 
21 #include "rtiNamespace.h"
22 #include <vlutil/vlMachineTypes.h>
23 
24 
25 class DT_DLL_VL DtNullFederateAmbassador : public RTI::FederateAmbassador
26 {
27 public:
29  DtNullFederateAmbassador();
31  virtual ~DtNullFederateAmbassador()
32  throw( RTI::FederateInternalError );
33 
34 protected:
36  DtNullFederateAmbassador( const DtNullFederateAmbassador& src );
38  DtNullFederateAmbassador& operator=( const DtNullFederateAmbassador& src );
39 
43 public:
44  virtual void synchronizationPointRegistrationSucceeded(
45  const char* label )
46  throw( RTI::FederateInternalError );
47 
48  virtual void synchronizationPointRegistrationFailed(
49  const char* label )
50  throw( RTI::FederateInternalError );
51 
52  virtual void announceSynchronizationPoint(
53  const char* label,
54  const char* tag )
55  throw( RTI::FederateInternalError );
56 
57  virtual void federationSynchronized(
58  const char* label )
59  throw( RTI::FederateInternalError );
60 
61  virtual void initiateFederateSave(
62  const char* label )
63  throw( RTI::UnableToPerformSave,
64  RTI::FederateInternalError );
65 
66  virtual void federationSaved()
67  throw( RTI::FederateInternalError);
68 
69  virtual void federationNotSaved()
70  throw( RTI::FederateInternalError );
71 
72  virtual void requestFederationRestoreSucceeded(
73  const char* label )
74  throw( RTI::FederateInternalError );
75 
76  virtual void requestFederationRestoreFailed(
77  const char* label,
78  const char* reason )
79  throw( RTI::FederateInternalError);
80 
81  virtual void federationRestoreBegun()
82  throw( RTI::FederateInternalError );
83 
84  virtual void initiateFederateRestore (
85  const char* label,
86  RTI::FederateHandle handle )
87  throw( RTI::SpecifiedSaveLabelDoesNotExist,
88  RTI::CouldNotRestore,
89  RTI::FederateInternalError );
90 
91  virtual void federationRestored()
92  throw( RTI::FederateInternalError);
93 
94  virtual void federationNotRestored()
95  throw( RTI::FederateInternalError );
96 
100 public:
101  virtual void startRegistrationForObjectClass(
102  RTI::ObjectClassHandle theClass )
103  throw( RTI::ObjectClassNotPublished,
104  RTI::FederateInternalError );
105 
106  virtual void stopRegistrationForObjectClass(
107  RTI::ObjectClassHandle theClass )
108  throw( RTI::ObjectClassNotPublished,
109  RTI::FederateInternalError );
110 
111  virtual void turnInteractionsOn (
112  RTI::InteractionClassHandle theHandle )
113  throw( RTI::InteractionClassNotPublished,
114  RTI::FederateInternalError );
115 
116  virtual void turnInteractionsOff (
117  RTI::InteractionClassHandle theHandle )
118  throw( RTI::InteractionClassNotPublished,
119  RTI::FederateInternalError );
120 
124 public:
125  virtual void discoverObjectInstance(
126  RTI::ObjectHandle theObject,
127  RTI::ObjectClassHandle theObjectClass,
128  const char* theObjectName )
129  throw( RTI::CouldNotDiscover,
130  RTI::ObjectClassNotKnown,
131  RTI::FederateInternalError );
132 
133  virtual void reflectAttributeValues(
134  RTI::ObjectHandle theObject,
135  const RTI::AttributeHandleValuePairSet& theAttributes,
136  const RTI::FedTime& theTime,
137  const char* theTag,
138  RTI::EventRetractionHandle theHandle )
139  throw( RTI::ObjectNotKnown,
140  RTI::AttributeNotKnown,
141  RTI::FederateOwnsAttributes,
142  RTI::InvalidFederationTime,
143  RTI::FederateInternalError );
144 
145  virtual void reflectAttributeValues(
146  RTI::ObjectHandle theObject,
147  const RTI::AttributeHandleValuePairSet& theAttributes,
148  const char* theTag )
149  throw( RTI::ObjectNotKnown,
150  RTI::AttributeNotKnown,
151  RTI::FederateOwnsAttributes,
152  RTI::FederateInternalError );
153 
155 public:
156  virtual void receiveInteraction(
157  RTI::InteractionClassHandle theInteraction,
158  const RTI::ParameterHandleValuePairSet& theParameters,
159  const RTI::FedTime& theTime,
160  const char* theTag,
161  RTI::EventRetractionHandle theHandle )
162  throw( RTI::InteractionClassNotKnown,
163  RTI::InteractionParameterNotKnown,
164  RTI::InvalidFederationTime,
165  RTI::FederateInternalError );
166 
167  virtual void receiveInteraction(
168  RTI::InteractionClassHandle theInteraction,
169  const RTI::ParameterHandleValuePairSet& theParameters,
170  const char* theTag )
171  throw( RTI::InteractionClassNotKnown,
172  RTI::InteractionParameterNotKnown,
173  RTI::FederateInternalError );
174 
175  virtual void removeObjectInstance(
176  RTI::ObjectHandle theObject,
177  const RTI::FedTime& theTime,
178  const char* theTag,
179  RTI::EventRetractionHandle theHandle )
180  throw( RTI::ObjectNotKnown,
181  RTI::InvalidFederationTime,
182  RTI::FederateInternalError );
183 
184  virtual void removeObjectInstance(
185  RTI::ObjectHandle theObject,
186  const char* theTag )
187  throw( RTI::ObjectNotKnown,
188  RTI::FederateInternalError );
189 
190  virtual void attributesInScope(
191  RTI::ObjectHandle theObject,
192  const RTI::AttributeHandleSet& theAttributes )
193  throw( RTI::ObjectNotKnown,
194  RTI::AttributeNotKnown,
195  RTI::FederateInternalError );
196 
197  virtual void attributesOutOfScope(
198  RTI::ObjectHandle theObject,
199  const RTI::AttributeHandleSet& theAttributes )
200  throw( RTI::ObjectNotKnown,
201  RTI::AttributeNotKnown,
202  RTI::FederateInternalError );
203 
204  virtual void provideAttributeValueUpdate(
205  RTI::ObjectHandle theObject,
206  const RTI::AttributeHandleSet& theAttributes )
207  throw( RTI::ObjectNotKnown,
208  RTI::AttributeNotKnown,
209  RTI::AttributeNotOwned,
210  RTI::FederateInternalError );
211 
212  virtual void turnUpdatesOnForObjectInstance(
213  RTI::ObjectHandle theObject,
214  const RTI::AttributeHandleSet& theAttributes )
215  throw( RTI::ObjectNotKnown,
216  RTI::AttributeNotOwned,
217  RTI::FederateInternalError );
218 
219  virtual void turnUpdatesOffForObjectInstance(
220  RTI::ObjectHandle theObject,
221  const RTI::AttributeHandleSet& theAttributes )
222  throw( RTI::ObjectNotKnown,
223  RTI::AttributeNotOwned,
224  RTI::FederateInternalError );
225 
229 public:
230  virtual void requestAttributeOwnershipAssumption(
231  RTI::ObjectHandle theObject,
232  const RTI::AttributeHandleSet& offeredAttributes,
233  const char* theTag )
234  throw( RTI::ObjectNotKnown,
235  RTI::AttributeNotKnown,
236  RTI::AttributeAlreadyOwned,
237  RTI::AttributeNotPublished,
238  RTI::FederateInternalError );
239 
240  virtual void attributeOwnershipDivestitureNotification(
241  RTI::ObjectHandle theObject,
242  const RTI::AttributeHandleSet& releasedAttributes )
243  throw( RTI::ObjectNotKnown,
244  RTI::AttributeNotKnown,
245  RTI::AttributeNotOwned,
246  RTI::AttributeDivestitureWasNotRequested,
247  RTI::FederateInternalError );
248 
249  virtual void attributeOwnershipAcquisitionNotification(
250  RTI::ObjectHandle theObject,
251  const RTI::AttributeHandleSet& securedAttributes )
252  throw( RTI::ObjectNotKnown,
253  RTI::AttributeNotKnown,
254  RTI::AttributeAcquisitionWasNotRequested,
255  RTI::AttributeAlreadyOwned,
256  RTI::AttributeNotPublished,
257  RTI::FederateInternalError );
258 
259  virtual void attributeOwnershipUnavailable(
260  RTI::ObjectHandle theObject,
261  const RTI::AttributeHandleSet& theAttributes )
262  throw( RTI::ObjectNotKnown,
263  RTI::AttributeNotKnown,
264  RTI::AttributeAlreadyOwned,
265  RTI::AttributeAcquisitionWasNotRequested,
266  RTI::FederateInternalError );
267 
268  virtual void requestAttributeOwnershipRelease(
269  RTI::ObjectHandle theObject,
270  const RTI::AttributeHandleSet& candidateAttributes,
271  const char* theTag )
272  throw( RTI::ObjectNotKnown,
273  RTI::AttributeNotKnown,
274  RTI::AttributeNotOwned,
275  RTI::FederateInternalError );
276 
277  virtual void confirmAttributeOwnershipAcquisitionCancellation(
278  RTI::ObjectHandle theObject,
279  const RTI::AttributeHandleSet& theAttributes )
280  throw( RTI::ObjectNotKnown,
281  RTI::AttributeNotKnown,
282  RTI::AttributeAlreadyOwned,
283  RTI::AttributeAcquisitionWasNotCanceled,
284  RTI::FederateInternalError );
285 
286  virtual void informAttributeOwnership(
287  RTI::ObjectHandle theObject,
288  RTI::AttributeHandle theAttribute,
289  RTI::FederateHandle theOwner )
290  throw( RTI::ObjectNotKnown,
291  RTI::AttributeNotKnown,
292  RTI::FederateInternalError );
293 
294  virtual void attributeIsNotOwned(
295  RTI::ObjectHandle theObject,
296  RTI::AttributeHandle theAttribute )
297  throw( RTI::ObjectNotKnown,
298  RTI::AttributeNotKnown,
299  RTI::FederateInternalError );
300 
301  virtual void attributeOwnedByRTI(
302  RTI::ObjectHandle theObject,
303  RTI::AttributeHandle theAttribute )
304  throw( RTI::ObjectNotKnown,
305  RTI::AttributeNotKnown,
306  RTI::FederateInternalError );
307 
311 public:
312  virtual void timeRegulationEnabled(
313  const RTI::FedTime& theTime )
314  throw( RTI::InvalidFederationTime,
315  RTI::EnableTimeRegulationWasNotPending,
316  RTI::FederateInternalError );
317 
318  virtual void timeConstrainedEnabled(
319  const RTI::FedTime& theTime )
320  throw( RTI::InvalidFederationTime,
321  RTI::EnableTimeConstrainedWasNotPending,
322  RTI::FederateInternalError );
323 
324  virtual void timeAdvanceGrant(
325  const RTI::FedTime& theTime )
326  throw( RTI::InvalidFederationTime,
327  RTI::TimeAdvanceWasNotInProgress,
328  RTI::FederateInternalError );
329 
330  virtual void requestRetraction(
331  RTI::EventRetractionHandle theHandle )
332  throw( RTI::EventNotKnown,
333  RTI::FederateInternalError );
334 };
335 
336 #endif
337 #endif
338 #endif
339 

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)