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

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)