15 #ifndef DtDirectRtiAmbassador_H_
16 #define DtDirectRtiAmbassador_H_
48 virtual RTI::RTIambassador*
rtiAmb();
52 const char *executionName,
57 const char *executionName);
62 const char* executionName,
63 RTI::FederateAmbassadorPtr federateAmbassadorReference);
67 RTI::ResignAction theAction);
78 const RTI::FederateHandleSet& syncSet);
87 const RTI::FedTime& theTime);
112 virtual void publishObjectClass(
113 RTI::ObjectClassHandle theClass,
114 const RTI::AttributeHandleSet& attributeList);
118 RTI::ObjectClassHandle theClass);
122 RTI::InteractionClassHandle theInteraction);
126 RTI::InteractionClassHandle theInteraction);
130 RTI::ObjectClassHandle theClass,
131 const RTI::AttributeHandleSet& attributeList,
132 RTI::Boolean active = RTI::RTI_TRUE);
136 RTI::ObjectClassHandle theClass);
140 RTI::InteractionClassHandle theClass,
141 RTI::Boolean active = RTI::RTI_TRUE);
145 RTI::InteractionClassHandle theClass);
149 RTI::ObjectClassHandle theClass,
const char* theObject);
153 RTI::ObjectClassHandle theClass);
159 const RTI::FedTime& theTime,
170 RTI::InteractionClassHandle theInteraction,
172 const RTI::FedTime& theTime,
177 RTI::InteractionClassHandle theInteraction,
184 const RTI::FedTime& theTime,
199 const RTI::AttributeHandleSet& theAttributes,
200 RTI::TransportationHandle theType);
204 RTI::InteractionClassHandle theClass,
205 RTI::TransportationHandle theType);
208 virtual void requestObjectAttributeValueUpdate (
210 const RTI::AttributeHandleSet& theAttributes);
213 virtual void requestClassAttributeValueUpdate (
214 RTI::ObjectClassHandle theClass,
215 const RTI::AttributeHandleSet& theAttributes);
220 const RTI::AttributeHandleSet& theAttributes);
225 const RTI::AttributeHandleSet& theAttributes,
231 const RTI::AttributeHandleSet& desiredAttributes,
237 const RTI::AttributeHandleSet& desiredAttributes);
240 virtual RTI::AttributeHandleSet* attributeOwnershipReleaseResponse(
242 const RTI::AttributeHandleSet& theAttributes);
247 const RTI::AttributeHandleSet& theAttributes);
252 const RTI::AttributeHandleSet& theAttributes);
257 RTI::AttributeHandle theAttribute);
262 RTI::AttributeHandle theAttribute);
266 const RTI::FedTime& theFederateTime,
267 const RTI::FedTime& theLookahead);
280 const RTI::FedTime& theTime);
284 const RTI::FedTime& theTime);
287 virtual void nextEventRequest(
288 const RTI::FedTime& theTime);
291 virtual void nextEventRequestAvailable (
292 const RTI::FedTime& theTime);
296 const RTI::FedTime& theTime);
305 virtual void queryLBTS(RTI::FedTime& theTime);
308 virtual void queryFederateTime(RTI::FedTime& theTime);
311 virtual void queryMinNextEventTime (
312 RTI::FedTime& theTime);
316 const RTI::FedTime& theLookahead);
320 RTI::FedTime& theTime);
324 RTI::EventRetractionHandle theHandle);
329 const RTI::AttributeHandleSet& theAttributes,
330 RTI::OrderingHandle theType);
334 RTI::InteractionClassHandle theClass,
335 RTI::OrderingHandle theType);
339 RTI::SpaceHandle theSpace,
343 virtual void notifyAboutRegionModification (
344 RTI::Region &theRegion);
351 RTI::ObjectClassHandle theClass,
352 const char* theObject,
353 RTI::AttributeHandle theAttributes[],
354 RTI::Region* theRegions[],
359 RTI::ObjectClassHandle theClass,
360 RTI::AttributeHandle theAttributes[],
361 RTI::Region* theRegions[],
365 virtual void associateRegionForUpdates (
366 RTI::Region& theRegion,
368 const RTI::AttributeHandleSet& theAttributes);
371 virtual void unassociateRegionForUpdates(
372 RTI::Region& theRegion,
376 virtual void subscribeObjectClassAttributesWithRegion(
377 RTI::ObjectClassHandle theClass,
378 RTI::Region& theRegion,
379 const RTI::AttributeHandleSet &attributeList,
380 RTI::Boolean active = RTI::RTI_TRUE);
383 virtual void unsubscribeObjectClassWithRegion(
384 RTI::ObjectClassHandle theClass,
385 RTI::Region& theRegion);
388 virtual void subscribeInteractionClassWithRegion (
389 RTI::InteractionClassHandle theClass,
390 RTI::Region& theRegion,
391 RTI::Boolean active = RTI::RTI_TRUE);
394 virtual void unsubscribeInteractionClassWithRegion (
395 RTI::InteractionClassHandle theClass,
396 RTI::Region& theRegion);
399 virtual RTI::EventRetractionHandle sendInteractionWithRegion(
400 RTI::InteractionClassHandle theInteraction,
402 const RTI::FedTime& theTime,
404 const RTI::Region& theRegion);
407 virtual void sendInteractionWithRegion(
408 RTI::InteractionClassHandle theInteraction,
411 const RTI::Region& theRegion);
414 virtual void requestClassAttributeValueUpdateWithRegion(
415 RTI::ObjectClassHandle theClass,
416 const RTI::AttributeHandleSet& theAttributes,
417 const RTI::Region& theRegion);
421 const char* theName);
425 RTI::ObjectClassHandle theHandle);
430 RTI::ObjectClassHandle whichClass);
434 RTI::AttributeHandle theHandle,
435 RTI::ObjectClassHandle whichClass);
439 const char* theName);
443 RTI::InteractionClassHandle theHandle);
448 RTI::InteractionClassHandle whichClass);
452 RTI::ParameterHandle theHandle,
453 RTI::InteractionClassHandle whichClass);
457 const char* theName);
464 virtual RTI::SpaceHandle getRoutingSpaceHandle (
465 const char* theName);
468 virtual const char* getRoutingSpaceName (
469 const RTI::SpaceHandle theHandle);
474 RTI::SpaceHandle whichSpace);
478 RTI::DimensionHandle theHandle,
479 RTI::SpaceHandle whichSpace);
482 virtual RTI::SpaceHandle
483 getAttributeRoutingSpaceHandle(
484 RTI::AttributeHandle theHandle,
485 RTI::ObjectClassHandle whichClass);
488 virtual RTI::ObjectClassHandle getObjectClass (
492 virtual RTI::SpaceHandle getInteractionRoutingSpaceHandle(
493 RTI::InteractionClassHandle theHandle);
496 virtual RTI::TransportationHandle getTransportationHandle(
497 const char *theName);
501 RTI::TransportationHandle theHandle);
504 virtual RTI::OrderingHandle getOrderingHandle(
505 const char *theName);
508 virtual char* getOrderingName(
509 RTI::OrderingHandle theHandle);
512 virtual void enableClassRelevanceAdvisorySwitch();
515 virtual void disableClassRelevanceAdvisorySwitch();
536 virtual RTI::Boolean
tick();
539 virtual RTI::Boolean
tick(
540 RTI::TickTime minimum,
541 RTI::TickTime maximum);
544 virtual RTI::RegionToken getRegionToken(RTI::Region*);
547 virtual RTI::Region* getRegion(RTI::RegionToken);
557 RTI::FederateAmbassadorPtr
myFedAmb;
virtual void modifyLookahead(LogicalTimeInterval const &theLookahead) DT_THROW_SPEC(TimeRegulationIsNotEnabled
8.19
virtual void attributeOwnershipAcquisition(ObjectInstanceHandle theObject, AttributeHandleSet const &desiredAttributes, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(ObjectInstanceNotKnown
7.8
virtual void timeAdvanceRequest(LogicalTime const &theTime) DT_THROW_SPEC(InvalidLogicalTime
8.8
virtual AttributeHandle getAttributeHandle(ObjectClassHandle theClass, std::wstring const &theAttributeName) DT_THROW_SPEC(InvalidObjectClassHandle
10.4
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
virtual void enableInteractionRelevanceAdvisorySwitch() DT_THROW_SPEC(InteractionRelevanceAdvisorySwitchIsOn
10.28
virtual void federateSaveBegun() DT_THROW_SPEC(SaveNotInitiated
4.13
virtual void changeInteractionOrderType(InteractionClassHandle theClass, OrderType theType) DT_THROW_SPEC(InteractionClassNotDefined
8.24
virtual bool isAttributeOwnedByFederate(ObjectInstanceHandle theObject, AttributeHandle theAttribute) DT_THROW_SPEC(ObjectInstanceNotKnown
7.18
std::auto_ptr< RTIambassador > myRtiAmb
Definition: vrlRtiAmbassador1516.h:1325
virtual void federateRestoreComplete() DT_THROW_SPEC(RestoreNotRequested
4.22
virtual void disableAttributeRelevanceAdvisorySwitch() DT_THROW_SPEC(AttributeRelevanceAdvisorySwitchIsOff
10.25
virtual RTI::RTIambassador * rtiAmb()
Get the real RTI ambassador, if the implementation of the derived object permits. ...
This file declares the class DtVrlRtiAmbassador for HLA 1.3.
FederateAmbassador * myFedAmb
Definition: vrlRtiAmbassador1516.h:1326
static RTI::RTIambassador * create()
virtual void deleteObjectInstance(ObjectInstanceHandle theObject, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(DeletePrivilegeNotHeld
6.10
virtual RegionHandle createRegion(DimensionHandleSet const &theDimensions) DT_THROW_SPEC(InvalidDimensionHandle
! Data Distribution Management //!
virtual std::wstring getDimensionName(DimensionHandle theHandle) DT_THROW_SPEC(InvalidDimensionHandle
10.13
virtual void registerFederationSynchronizationPoint(std::wstring const &label, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(FederateNotExecutionMember
4.6
virtual void federateSaveComplete() DT_THROW_SPEC(FederateHasNotBegunSave
4.14
virtual std::wstring getObjectClassName(ObjectClassHandle theClass) DT_THROW_SPEC(InvalidObjectClassHandle
10.3
virtual void subscribeInteractionClass(InteractionClassHandle theClass, bool active=true) DT_THROW_SPEC(InteractionClassNotDefined
5.8
virtual void timeAdvanceRequestAvailable(LogicalTime const &theTime) DT_THROW_SPEC(InvalidLogicalTime
8.9
virtual void destroyFederationExecution(std::wstring const &federationExecutionName) DT_THROW_SPEC(FederatesCurrentlyJoined
4.3
virtual void unpublishObjectClass(ObjectClassHandle theClass) DT_THROW_SPEC(ObjectClassNotDefined
5.3
Instances of DtDirectRtiAmbassador are for wrapping the calls to The RTI ambassador so that we may ov...
Definition: directRtiAmbassador1516.h:29
virtual void enableAttributeRelevanceAdvisorySwitch() DT_THROW_SPEC(AttributeRelevanceAdvisorySwitchIsOn
10.24
virtual void changeAttributeOrderType(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, OrderType theType) DT_THROW_SPEC(ObjectInstanceNotKnown
8.23
virtual std::wstring getParameterName(InteractionClassHandle whichClass, ParameterHandle theHandle) DT_THROW_SPEC(InvalidInteractionClassHandle
10.9
virtual void unsubscribeObjectClass(ObjectClassHandle theClass) DT_THROW_SPEC(ObjectClassNotDefined
5.7
virtual void disableTimeRegulation() DT_THROW_SPEC(TimeRegulationIsNotEnabled
8.4
virtual void enableTimeConstrained() DT_THROW_SPEC(TimeConstrainedAlreadyEnabled
8.5
virtual void disableAttributeScopeAdvisorySwitch() DT_THROW_SPEC(AttributeScopeAdvisorySwitchIsOff
10.27
virtual std::wstring getAttributeName(ObjectClassHandle theClass, AttributeHandle theHandle) DT_THROW_SPEC(InvalidObjectClassHandle
10.5
virtual std::wstring getTransportationName(TransportationType transportationType) DT_THROW_SPEC(InvalidTransportationType
10.19
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:275
virtual std::wstring getObjectInstanceName(ObjectInstanceHandle theHandle) DT_THROW_SPEC(ObjectInstanceNotKnown
10.11
virtual void resignFederationExecution(ResignAction resignAction) DT_THROW_SPEC(OwnershipAcquisitionPending
4.5
virtual void cancelAttributeOwnershipAcquisition(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes) DT_THROW_SPEC(ObjectInstanceNotKnown
7.14
virtual void federateRestoreNotComplete() DT_THROW_SPEC(RestoreNotRequested
virtual void localDeleteObjectInstance(ObjectInstanceHandle theObject) DT_THROW_SPEC(ObjectInstanceNotKnown
6.12
virtual void sendInteraction(InteractionClassHandle theInteraction, ParameterHandleValueMap const &theParameterValues, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(InteractionClassNotPublished
6.8
virtual ObjectInstanceHandle registerObjectInstance(ObjectClassHandle theClass) DT_THROW_SPEC(ObjectClassNotDefined
6.4
virtual void changeAttributeTransportationType(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, TransportationType theType) DT_THROW_SPEC(ObjectInstanceNotKnown
6.13
virtual void queryLookahead(LogicalTimeInterval &interval) DT_THROW_SPEC(TimeRegulationIsNotEnabled
8.20
virtual void requestFederationSave(std::wstring const &label) DT_THROW_SPEC(FederateNotExecutionMember
4.11
virtual void changeInteractionTransportationType(InteractionClassHandle theClass, TransportationType theType) DT_THROW_SPEC(InteractionClassNotDefined
6.14
virtual void disableAsynchronousDelivery() DT_THROW_SPEC(AsynchronousDeliveryAlreadyDisabled
8.15
virtual std::wstring getInteractionClassName(InteractionClassHandle theHandle) DT_THROW_SPEC(InvalidInteractionClassHandle
10.7
virtual void cancelNegotiatedAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes) DT_THROW_SPEC(ObjectInstanceNotKnown
7.13
virtual void disableTimeConstrained() DT_THROW_SPEC(TimeConstrainedIsNotEnabled
8.7
virtual ParameterHandle getParameterHandle(InteractionClassHandle whichClass, std::wstring const &theName) DT_THROW_SPEC(InvalidInteractionClassHandle
10.8
virtual void deleteRegion(RegionHandle theRegion) DT_THROW_SPEC(InvalidRegion
9.4
virtual void publishInteractionClass(InteractionClassHandle theInteraction) DT_THROW_SPEC(InteractionClassNotDefined
5.4
virtual void updateAttributeValues(ObjectInstanceHandle theObject, AttributeHandleValueMap const &theAttributeValues, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(ObjectInstanceNotKnown
6.6
virtual void queryAttributeOwnership(ObjectInstanceHandle theObject, AttributeHandle theAttribute) DT_THROW_SPEC(ObjectInstanceNotKnown
7.16
virtual void unconditionalAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes) DT_THROW_SPEC(ObjectInstanceNotKnown
! Ownership Management Services //!
virtual InteractionClassHandle getInteractionClassHandle(std::wstring const &theName) DT_THROW_SPEC(NameNotFound
10.6
virtual ObjectClassHandle getObjectClassHandle(std::wstring const &theName) DT_THROW_SPEC(NameNotFound
! RTI Support Services //!
virtual void attributeOwnershipAcquisitionIfAvailable(ObjectInstanceHandle theObject, AttributeHandleSet const &desiredAttributes) DT_THROW_SPEC(ObjectInstanceNotKnown
7.9
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHan...
Definition: rtiCompatibility.h:237
virtual void retract(MessageRetractionHandle theHandle) DT_THROW_SPEC(InvalidRetractionHandle
8.21
virtual FederateHandle joinFederationExecution(std::wstring const &federateType, std::wstring const &federationExecutionName, FederateAmbassador &federateAmbassador) DT_THROW_SPEC(FederateAlreadyExecutionMember
4.4
virtual void enableTimeRegulation(LogicalTimeInterval const &theLookahead) DT_THROW_SPEC(TimeRegulationAlreadyEnabled
! Time Management Services //!
Instances of DtVrlRtiAmbassador are for wrapping the calls to The RTI ambassador so that we may overr...
Definition: vrlRtiAmbassador1516.h:23
virtual void federateSaveNotComplete() DT_THROW_SPEC(FederateHasNotBegunSave
virtual void unsubscribeInteractionClass(InteractionClassHandle theClass) DT_THROW_SPEC(InteractionClassNotDefined
5.9
MANAGEDINTERFACE_DLL void tick(double maxTime)
Tick ManagedInterface.
virtual DimensionHandle getDimensionHandle(std::wstring const &theName) DT_THROW_SPEC(NameNotFound
10.12
DtVrlRtiAmbassador & operator=(const DtVrlRtiAmbassador &orig)
assignment operator – do not copy
unsigned long ULong
These typedefs are provided for source compatibility.
Definition: rtiCompatibility.h:274
virtual void unpublishInteractionClass(InteractionClassHandle theInteraction) DT_THROW_SPEC(InteractionClassNotDefined
5.5
virtual void negotiatedAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, RTI::VariableLengthData const &aTag) DT_THROW_SPEC(ObjectInstanceNotKnown
7.3
virtual void disableInteractionRelevanceAdvisorySwitch() DT_THROW_SPEC(InteractionRelevanceAdvisorySwitchIsOff
10.29
virtual void enableAsynchronousDelivery() DT_THROW_SPEC(AsynchronousDeliveryAlreadyEnabled
8.14
virtual void createFederationExecution(std::wstring const &federationExecutionName, std::wstring const &fullPathNameToTheFDDfile, std::wstring const &logicalTimeImplementationName=L"") DT_THROW_SPEC(FederationExecutionAlreadyExists
4.2
virtual ObjectInstanceHandle getObjectInstanceHandle(std::wstring const &theName) DT_THROW_SPEC(ObjectInstanceNotKnown
10.10
This file contains typedefs for machine dependant types.
virtual void synchronizationPointAchieved(std::wstring const &label) DT_THROW_SPEC(SynchronizationPointLabelNotAnnounced
4.9
virtual void subscribeObjectClassAttributes(ObjectClassHandle theClass, AttributeHandleSet const &attributeList, bool active=true) DT_THROW_SPEC(ObjectClassNotDefined
5.6
virtual void enableAttributeScopeAdvisorySwitch() DT_THROW_SPEC(AttributeScopeAdvisorySwitchIsOn
10.26
virtual void requestFederationRestore(std::wstring const &label) DT_THROW_SPEC(FederateNotExecutionMember
4.18
virtual void flushQueueRequest(LogicalTime const &theTime) DT_THROW_SPEC(InvalidLogicalTime
8.12