10 #if DtHLA_1516_EVOLVED && !DtHLA_4
15 #include <vl/vrlFederateAmbassador1516e.h>
17 namespace MAKTrafficClientServerExConn
19 class DT_DLL_CSEC DtServerFederateAmbassador :
public DtServerFederateAmbassadorBase,
public DtVrlFederateAmbassador
25 DtServerFederateAmbassador()
26 throw (RTI::FederateInternalError);
29 virtual ~DtServerFederateAmbassador()
35 DtServerFederateAmbassador(const DtServerFederateAmbassador& src);
37 DtServerFederateAmbassador& operator=(const DtServerFederateAmbassador& src);
46 virtual
void connectionLost (
47 std::wstring const & faultDescription)
49 RTI::FederateInternalError);
52 virtual
void reportFederationExecutions (
53 RTI::FederationExecutionInformationVector const &
54 theFederationExecutionInformationList)
56 RTI::FederateInternalError);
59 virtual
void synchronizationPointRegistrationSucceeded (
60 std::wstring const & label)
62 RTI::FederateInternalError);
64 virtual
void synchronizationPointRegistrationFailed (
65 std::wstring const & label,
66 RTI::SynchronizationPointFailureReason reason)
68 RTI::FederateInternalError);
71 virtual
void announceSynchronizationPoint (
72 std::wstring const & label,
73 RTI::VariableLengthData const & theUserSuppliedTag)
75 RTI::FederateInternalError);
78 virtual
void federationSynchronized (
79 std::wstring const & label,
80 RTI::FederateHandleSet const& failedToSyncSet)
82 RTI::FederateInternalError);
85 virtual
void initiateFederateSave (
86 std::wstring const & label)
88 RTI::FederateInternalError);
90 virtual
void initiateFederateSave (
91 std::wstring const & label,
92 RTI::LogicalTime const & theTime)
94 RTI::FederateInternalError);
97 virtual
void federationSaved ()
99 RTI::FederateInternalError);
101 virtual
void federationNotSaved (
102 RTI::SaveFailureReason theSaveFailureReason)
104 RTI::FederateInternalError);
108 virtual
void federationSaveStatusResponse (
109 RTI::FederateHandleSaveStatusPairVector const &
110 theFederateStatusVector)
112 RTI::FederateInternalError);
115 virtual
void requestFederationRestoreSucceeded (
116 std::wstring const & label)
118 RTI::FederateInternalError);
120 virtual
void requestFederationRestoreFailed (
121 std::wstring const & label)
123 RTI::FederateInternalError);
126 virtual
void federationRestoreBegun ()
128 RTI::FederateInternalError);
131 virtual
void initiateFederateRestore (
132 std::wstring const & label,
133 std::wstring const & federateName,
134 RTI::FederateHandle handle)
136 RTI::FederateInternalError);
139 virtual
void federationRestored ()
141 RTI::FederateInternalError);
143 virtual
void federationNotRestored (
144 RTI::RestoreFailureReason theRestoreFailureReason)
146 RTI::FederateInternalError);
149 virtual
void federationRestoreStatusResponse (
150 RTI::FederateRestoreStatusVector const &
151 theFederateRestoreStatusVector)
153 RTI::FederateInternalError);
160 virtual
void startRegistrationForObjectClass (
161 RTI::ObjectClassHandle theClass)
163 RTI::FederateInternalError);
166 virtual
void stopRegistrationForObjectClass (
167 RTI::ObjectClassHandle theClass)
169 RTI::FederateInternalError);
172 virtual
void turnInteractionsOn (
173 RTI::InteractionClassHandle theHandle)
175 RTI::FederateInternalError);
178 virtual
void turnInteractionsOff (
179 RTI::InteractionClassHandle theHandle)
181 RTI::FederateInternalError);
188 virtual
void objectInstanceNameReservationSucceeded (
189 std::wstring const & theObjectInstanceName)
191 RTI::FederateInternalError);
193 virtual
void objectInstanceNameReservationFailed (
194 std::wstring const & theObjectInstanceName)
196 RTI::FederateInternalError);
199 virtual
void multipleObjectInstanceNameReservationSucceeded (
200 std::set<std::wstring> const & theObjectInstanceNames)
202 RTI::FederateInternalError);
204 virtual
void multipleObjectInstanceNameReservationFailed (
205 std::set<std::wstring> const & theObjectInstanceNames)
207 RTI::FederateInternalError);
210 virtual
void discoverObjectInstance (
211 RTI::ObjectInstanceHandle theObject,
212 RTI::ObjectClassHandle theObjectClass,
213 std::wstring const & theObjectInstanceName)
215 RTI::FederateInternalError);
217 virtual
void discoverObjectInstanceSR(
218 unsigned int clientID,
219 ObjectInstanceHandle theObject,
220 ObjectClassHandle theObjectClass,
221 std::wstring const & theObjectInstanceName);
223 virtual
void discoverObjectInstance (
224 RTI::ObjectInstanceHandle theObject,
225 RTI::ObjectClassHandle theObjectClass,
226 std::wstring const & theObjectInstanceName,
227 RTI::FederateHandle producingFederate)
229 RTI::FederateInternalError);
231 virtual
void discoverObjectInstanceSR(
232 unsigned int clientID,
233 ObjectInstanceHandle theObject,
234 ObjectClassHandle theObjectClass,
235 std::wstring const & theObjectInstanceName,
236 FederateHandle producingFederate);
239 virtual
void reflectAttributeValues (
240 RTI::ObjectInstanceHandle theObject,
241 RTI::AttributeHandleValueMap const & theAttributeValues,
242 RTI::VariableLengthData const & theUserSuppliedTag,
243 RTI::OrderType sentOrder,
244 RTI::TransportationType theType,
245 RTI::SupplementalReflectInfo theReflectInfo)
247 RTI::FederateInternalError);
249 virtual
void reflectAttributeValuesSR(
250 unsigned int clientID,
251 ObjectInstanceHandle theObject,
252 AttributeHandleValueMap const & theAttributeValues,
253 VariableLengthData const & theUserSuppliedTag,
255 TransportationType theType,
256 SupplementalReflectInfo theReflectInfo);
258 virtual
void reflectAttributeValues (
259 RTI::ObjectInstanceHandle theObject,
260 RTI::AttributeHandleValueMap const & theAttributeValues,
261 RTI::VariableLengthData const & theUserSuppliedTag,
262 RTI::OrderType sentOrder,
263 RTI::TransportationType theType,
264 RTI::LogicalTime const & theTime,
265 RTI::OrderType receivedOrder,
266 RTI::SupplementalReflectInfo theReflectInfo)
268 RTI::FederateInternalError);
270 virtual
void reflectAttributeValuesSR(
271 unsigned int clientID,
272 ObjectInstanceHandle theObject,
273 AttributeHandleValueMap const & theAttributeValues,
274 VariableLengthData const & theUserSuppliedTag,
276 TransportationType theType,
277 LogicalTime const & theTime,
278 OrderType receivedOrder,
279 SupplementalReflectInfo theReflectInfo);
281 virtual
void reflectAttributeValues (
282 RTI::ObjectInstanceHandle theObject,
283 RTI::AttributeHandleValueMap const & theAttributeValues,
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::SupplementalReflectInfo theReflectInfo)
292 RTI::FederateInternalError);
294 virtual
void reflectAttributeValuesSR(
295 unsigned int clientID,
296 ObjectInstanceHandle theObject,
297 AttributeHandleValueMap const & theAttributeValues,
298 VariableLengthData const & theUserSuppliedTag,
300 TransportationType theType,
301 LogicalTime const & theTime,
302 OrderType receivedOrder,
303 MessageRetractionHandle theHandle,
304 SupplementalReflectInfo theReflectInfo);
307 virtual
void receiveInteraction (
308 RTI::InteractionClassHandle theInteraction,
309 RTI::ParameterHandleValueMap const & theParameterValues,
310 RTI::VariableLengthData const & theUserSuppliedTag,
311 RTI::OrderType sentOrder,
312 RTI::TransportationType theType,
313 RTI::SupplementalReceiveInfo theReceiveInfo)
315 RTI::FederateInternalError);
317 virtual
void receiveInteractionSR(
318 unsigned int clientID,
319 InteractionClassHandle theInteraction,
320 ParameterHandleValueMap const & theParameterValues,
321 VariableLengthData const & theUserSuppliedTag,
323 TransportationType theType,
324 SupplementalReceiveInfo theReceiveInfo);
326 virtual
void receiveInteraction (
327 RTI::InteractionClassHandle theInteraction,
328 RTI::ParameterHandleValueMap const & theParameterValues,
329 RTI::VariableLengthData const & theUserSuppliedTag,
330 RTI::OrderType sentOrder,
331 RTI::TransportationType theType,
332 RTI::LogicalTime const & theTime,
333 RTI::OrderType receivedOrder,
334 RTI::SupplementalReceiveInfo theReceiveInfo)
336 RTI::FederateInternalError);
338 virtual
void receiveInteractionSR(
339 unsigned int clientID,
340 InteractionClassHandle theInteraction,
341 ParameterHandleValueMap const & theParameterValues,
342 VariableLengthData const & theUserSuppliedTag,
344 TransportationType theType,
345 LogicalTime const & theTime,
346 OrderType receivedOrder,
347 SupplementalReceiveInfo theReceiveInfo);
349 virtual
void receiveInteraction (
350 RTI::InteractionClassHandle theInteraction,
351 RTI::ParameterHandleValueMap const & theParameterValues,
352 RTI::VariableLengthData const & theUserSuppliedTag,
353 RTI::OrderType sentOrder,
354 RTI::TransportationType theType,
355 RTI::LogicalTime const & theTime,
356 RTI::OrderType receivedOrder,
357 RTI::MessageRetractionHandle theHandle,
358 RTI::SupplementalReceiveInfo theReceiveInfo)
360 RTI::FederateInternalError);
362 virtual
void receiveInteractionSR(
363 unsigned int clientID,
364 InteractionClassHandle theInteraction,
365 ParameterHandleValueMap const & theParameterValues,
366 VariableLengthData const & theUserSuppliedTag,
368 TransportationType theType,
369 LogicalTime const & theTime,
370 OrderType receivedOrder,
371 MessageRetractionHandle theHandle,
372 SupplementalReceiveInfo theReceiveInfo);
375 virtual
void removeObjectInstance (
376 RTI::ObjectInstanceHandle theObject,
377 RTI::VariableLengthData const & theUserSuppliedTag,
378 RTI::OrderType sentOrder,
379 RTI::SupplementalRemoveInfo theRemoveInfo)
381 RTI::FederateInternalError);
383 virtual
void removeObjectInstanceSR(
384 unsigned int clientID,
385 ObjectInstanceHandle theObject,
386 VariableLengthData const & theUserSuppliedTag,
388 SupplementalRemoveInfo theRemoveInfo);
390 virtual
void removeObjectInstance (
391 RTI::ObjectInstanceHandle theObject,
392 RTI::VariableLengthData const & theUserSuppliedTag,
393 RTI::OrderType sentOrder,
394 RTI::LogicalTime const & theTime,
395 RTI::OrderType receivedOrder,
396 RTI::SupplementalRemoveInfo theRemoveInfo)
398 RTI::FederateInternalError);
400 virtual
void removeObjectInstanceSR(
401 unsigned int clientID,
402 ObjectInstanceHandle theObject,
403 VariableLengthData const & theUserSuppliedTag,
405 LogicalTime const & theTime,
406 OrderType receivedOrder,
407 SupplementalRemoveInfo theRemoveInfo);
409 virtual
void removeObjectInstance (
410 RTI::ObjectInstanceHandle theObject,
411 RTI::VariableLengthData const & theUserSuppliedTag,
412 RTI::OrderType sentOrder,
413 RTI::LogicalTime const & theTime,
414 RTI::OrderType receivedOrder,
415 RTI::MessageRetractionHandle theHandle,
416 RTI::SupplementalRemoveInfo theRemoveInfo)
418 RTI::FederateInternalError);
420 virtual
void removeObjectInstanceSR(
421 unsigned int clientID,
422 ObjectInstanceHandle theObject,
423 VariableLengthData const & theUserSuppliedTag,
425 LogicalTime const & theTime,
426 OrderType receivedOrder,
427 MessageRetractionHandle theHandle,
428 SupplementalRemoveInfo theRemoveInfo);
431 virtual
void attributesInScope (
432 RTI::ObjectInstanceHandle theObject,
433 RTI::AttributeHandleSet const & theAttributes)
435 RTI::FederateInternalError);
438 virtual
void attributesOutOfScope (
439 RTI::ObjectInstanceHandle theObject,
440 RTI::AttributeHandleSet const & theAttributes)
442 RTI::FederateInternalError);
445 virtual
void provideAttributeValueUpdate (
446 RTI::ObjectInstanceHandle theObject,
447 RTI::AttributeHandleSet const & theAttributes,
448 RTI::VariableLengthData const & theUserSuppliedTag)
450 RTI::FederateInternalError);
453 virtual
void turnUpdatesOnForObjectInstance (
454 RTI::ObjectInstanceHandle theObject,
455 RTI::AttributeHandleSet const & theAttributes)
457 RTI::FederateInternalError);
459 virtual
void turnUpdatesOnForObjectInstance (
460 RTI::ObjectInstanceHandle theObject,
461 RTI::AttributeHandleSet const & theAttributes,
462 std::wstring const & updateRateDesignator)
464 RTI::FederateInternalError);
467 virtual
void turnUpdatesOffForObjectInstance (
468 RTI::ObjectInstanceHandle theObject,
469 RTI::AttributeHandleSet const & theAttributes)
471 RTI::FederateInternalError);
474 virtual
void confirmAttributeTransportationTypeChange (
475 RTI::ObjectInstanceHandle theObject,
476 RTI::AttributeHandleSet theAttributes,
477 RTI::TransportationType theTransportation)
479 RTI::FederateInternalError);
482 virtual
void reportAttributeTransportationType (
483 RTI::ObjectInstanceHandle theObject,
484 RTI::AttributeHandle theAttribute,
485 RTI::TransportationType theTransportation)
487 RTI::FederateInternalError);
490 virtual
void confirmInteractionTransportationTypeChange (
491 RTI::InteractionClassHandle theInteraction,
492 RTI::TransportationType theTransportation)
494 RTI::FederateInternalError);
497 virtual
void reportInteractionTransportationType (
498 RTI::FederateHandle federateHandle,
499 RTI::InteractionClassHandle theInteraction,
500 RTI::TransportationType theTransportation)
502 RTI::FederateInternalError);
510 virtual
void requestAttributeOwnershipAssumption (
511 RTI::ObjectInstanceHandle theObject,
512 RTI::AttributeHandleSet const & offeredAttributes,
513 RTI::VariableLengthData const & theUserSuppliedTag)
515 RTI::FederateInternalError);
518 virtual
void requestDivestitureConfirmation (
519 RTI::ObjectInstanceHandle theObject,
520 RTI::AttributeHandleSet const & releasedAttributes)
522 RTI::FederateInternalError);
525 virtual
void attributeOwnershipAcquisitionNotification (
526 RTI::ObjectInstanceHandle theObject,
527 RTI::AttributeHandleSet const & securedAttributes,
528 RTI::VariableLengthData const & theUserSuppliedTag)
530 RTI::FederateInternalError);
533 virtual
void attributeOwnershipUnavailable (
534 RTI::ObjectInstanceHandle theObject,
535 RTI::AttributeHandleSet const & theAttributes)
537 RTI::FederateInternalError);
540 virtual
void requestAttributeOwnershipRelease (
541 RTI::ObjectInstanceHandle theObject,
542 RTI::AttributeHandleSet const & candidateAttributes,
543 RTI::VariableLengthData const & theUserSuppliedTag)
545 RTI::FederateInternalError);
548 virtual
void confirmAttributeOwnershipAcquisitionCancellation (
549 RTI::ObjectInstanceHandle theObject,
550 RTI::AttributeHandleSet const & theAttributes)
552 RTI::FederateInternalError);
555 virtual
void informAttributeOwnership (
556 RTI::ObjectInstanceHandle theObject,
557 RTI::AttributeHandle theAttribute,
558 RTI::FederateHandle theOwner)
560 RTI::FederateInternalError);
562 virtual
void attributeIsNotOwned (
563 RTI::ObjectInstanceHandle theObject,
564 RTI::AttributeHandle theAttribute)
566 RTI::FederateInternalError);
568 virtual
void attributeIsOwnedByRTI (
569 RTI::ObjectInstanceHandle theObject,
570 RTI::AttributeHandle theAttribute)
572 RTI::FederateInternalError);
579 virtual
void timeRegulationEnabled (
580 RTI::LogicalTime const & theFederateTime)
582 RTI::FederateInternalError);
585 virtual
void timeConstrainedEnabled (
586 RTI::LogicalTime const & theFederateTime)
588 RTI::FederateInternalError);
591 virtual
void timeAdvanceGrant (
592 RTI::LogicalTime const & theTime)
594 RTI::FederateInternalError);
597 virtual
void requestRetraction (
598 RTI::MessageRetractionHandle theHandle)
600 RTI::FederateInternalError);
605 static DtVrlFederateAmbassador* create();
610 virtual std::auto_ptr<RTI::LogicalTime> copyTime(RTI::LogicalTime const& timeValue);
#define DT_DLL_CSEC
Definition: clientServerExConnDllDefines.h:17