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 updateAttributeValues(ObjectInstanceHandle theObject, AttributeHandleValueMap const &theAttributeValues, RTI::VariableLengthData const &aTag)=0
6.6
virtual std::wstring getTransportationName(TransportationType transportationType)=0
10.19
virtual void localDeleteObjectInstance(ObjectInstanceHandle theObject)=0
6.12
virtual void disableTimeConstrained()=0
8.7
virtual void timeAdvanceRequestAvailable(LogicalTime const &theTime)=0
8.9
virtual void enableTimeRegulation(LogicalTimeInterval const &theLookahead)=0
! Time Management Services //!
virtual void subscribeObjectClassAttributes(ObjectClassHandle theClass, AttributeHandleSet const &attributeList, bool active=true)=0
5.6
virtual void cancelNegotiatedAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes)=0
7.13
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual void disableAsynchronousDelivery()=0
8.15
std::auto_ptr< RTIambassador > myRtiAmb
Definition: vrlRtiAmbassador1516.h:1325
virtual void createFederationExecution(std::wstring const &federationExecutionName, std::wstring const &fullPathNameToTheFDDfile, std::wstring const &logicalTimeImplementationName=L"")=0
4.2
virtual void changeInteractionOrderType(InteractionClassHandle theClass, OrderType theType)=0
8.24
virtual void unsubscribeObjectClass(ObjectClassHandle theClass)=0
5.7
virtual void attributeOwnershipAcquisition(ObjectInstanceHandle theObject, AttributeHandleSet const &desiredAttributes, RTI::VariableLengthData const &aTag)=0
7.8
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
virtual void federateSaveComplete()=0
4.14
static RTI::RTIambassador * create()
virtual void unpublishObjectClass(ObjectClassHandle theClass)=0
5.3
virtual std::wstring getInteractionClassName(InteractionClassHandle theHandle)=0
10.7
virtual void federateSaveBegun()=0
4.13
virtual ObjectClassHandle getObjectClassHandle(std::wstring const &theName)=0
! RTI Support Services //!
virtual std::wstring getObjectClassName(ObjectClassHandle theClass)=0
10.3
virtual std::wstring getDimensionName(DimensionHandle theHandle)=0
10.13
virtual void changeAttributeOrderType(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, OrderType theType)=0
8.23
virtual void sendInteraction(InteractionClassHandle theInteraction, ParameterHandleValueMap const &theParameterValues, RTI::VariableLengthData const &aTag)=0
6.8
virtual void queryLookahead(LogicalTimeInterval &interval)=0
8.20
virtual std::wstring getObjectInstanceName(ObjectInstanceHandle theHandle)=0
10.11
virtual void enableInteractionRelevanceAdvisorySwitch()=0
10.28
virtual void enableAsynchronousDelivery()=0
8.14
virtual void synchronizationPointAchieved(std::wstring const &label)=0
4.9
virtual void retract(MessageRetractionHandle theHandle)=0
8.21
virtual void federateSaveNotComplete()=0
Instances of DtDirectRtiAmbassador are for wrapping the calls to The RTI ambassador so that we may ov...
Definition: directRtiAmbassador1516.h:29
virtual std::wstring getAttributeName(ObjectClassHandle theClass, AttributeHandle theHandle)=0
10.5
virtual AttributeHandle getAttributeHandle(ObjectClassHandle theClass, std::wstring const &theAttributeName)=0
10.4
virtual void publishInteractionClass(InteractionClassHandle theInteraction)=0
5.4
virtual void subscribeInteractionClass(InteractionClassHandle theClass, bool active=true)=0
5.8
virtual void negotiatedAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, RTI::VariableLengthData const &aTag)=0
7.3
virtual void destroyFederationExecution(std::wstring const &federationExecutionName)=0
4.3
virtual void registerFederationSynchronizationPoint(std::wstring const &label, RTI::VariableLengthData const &aTag)=0
4.6
virtual void queryAttributeOwnership(ObjectInstanceHandle theObject, AttributeHandle theAttribute)=0
7.16
virtual ObjectInstanceHandle registerObjectInstance(ObjectClassHandle theClass)=0
6.4
virtual void unsubscribeInteractionClass(InteractionClassHandle theClass)=0
5.9
virtual void disableAttributeScopeAdvisorySwitch()=0
10.27
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:275
virtual void deleteRegion(RegionHandle theRegion)=0
9.4
virtual void unconditionalAttributeOwnershipDivestiture(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes)=0
! Ownership Management Services //!
virtual void deleteObjectInstance(ObjectInstanceHandle theObject, RTI::VariableLengthData const &aTag)=0
6.10
virtual void changeInteractionTransportationType(InteractionClassHandle theClass, TransportationType theType)=0
6.14
virtual void modifyLookahead(LogicalTimeInterval const &theLookahead)=0
8.19
virtual void federateRestoreNotComplete()=0
virtual InteractionClassHandle getInteractionClassHandle(std::wstring const &theName)=0
10.6
virtual void unpublishInteractionClass(InteractionClassHandle theInteraction)=0
5.5
virtual std::wstring getParameterName(InteractionClassHandle whichClass, ParameterHandle theHandle)=0
10.9
virtual RegionHandle createRegion(DimensionHandleSet const &theDimensions)=0
! Data Distribution Management //!
virtual void disableInteractionRelevanceAdvisorySwitch()=0
10.29
virtual void federateRestoreComplete()=0
4.22
virtual void attributeOwnershipAcquisitionIfAvailable(ObjectInstanceHandle theObject, AttributeHandleSet const &desiredAttributes)=0
7.9
virtual void enableAttributeScopeAdvisorySwitch()=0
10.26
virtual FederateHandle joinFederationExecution(std::wstring const &federateType, std::wstring const &federationExecutionName, FederateAmbassador &federateAmbassador)=0
4.4
virtual void requestFederationRestore(std::wstring const &label)=0
4.18
virtual DimensionHandle getDimensionHandle(std::wstring const &theName)=0
10.12
virtual ObjectInstanceHandle getObjectInstanceHandle(std::wstring const &theName)=0
10.10
virtual void changeAttributeTransportationType(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes, TransportationType theType)=0
6.13
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHan...
Definition: rtiCompatibility.h:237
virtual void requestFederationSave(std::wstring const &label)=0
4.11
virtual void resignFederationExecution(ResignAction resignAction)=0
4.5
virtual void enableTimeConstrained()=0
8.5
Instances of DtVrlRtiAmbassador are for wrapping the calls to The RTI ambassador so that we may overr...
Definition: vrlRtiAmbassador1516.h:23
virtual void timeAdvanceRequest(LogicalTime const &theTime)=0
8.8
MANAGEDINTERFACE_DLL void tick(double maxTime)
Tick ManagedInterface.
DtVrlRtiAmbassador & operator=(const DtVrlRtiAmbassador &orig)
assignment operator – do not copy
virtual bool isAttributeOwnedByFederate(ObjectInstanceHandle theObject, AttributeHandle theAttribute)=0
7.18
virtual void disableAttributeRelevanceAdvisorySwitch()=0
10.25
unsigned long ULong
These typedefs are provided for source compatibility.
Definition: rtiCompatibility.h:274
virtual void enableAttributeRelevanceAdvisorySwitch()=0
10.24
virtual void cancelAttributeOwnershipAcquisition(ObjectInstanceHandle theObject, AttributeHandleSet const &theAttributes)=0
7.14
virtual void flushQueueRequest(LogicalTime const &theTime)=0
8.12
virtual ParameterHandle getParameterHandle(InteractionClassHandle whichClass, std::wstring const &theName)=0
10.8
This file contains typedefs for machine dependant types.
virtual void disableTimeRegulation()=0
8.4