VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ddmFedAmb1516e.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #if DtHLA && DtHLA_1516 && DtHLA_1516_EVOLVED && !defined DtHLA_4
9 
11 
13 {
14 public:
15  struct DtRegionInfo
16  {
17  unsigned long lowerXBound;
18  unsigned long lowerYBound;
19  unsigned long upperXBound;
20  unsigned long upperYBound;
21  bool infoSet;
22  };
23 
25  throw (RTI::FederateInternalError);
26 
27  virtual ~DtDdmFederateAmbassador() throw();
28 
29  virtual void discoverObjectInstance(
30  RTI::ObjectInstanceHandle theObject,
31  RTI::ObjectClassHandle theObjectClass,
32  std::wstring const & theObjectInstanceName)
33  throw (RTI::FederateInternalError);
34 
35  virtual void reflectAttributeValues(
36  RTI::ObjectInstanceHandle theObject,
37  RTI::AttributeHandleValueMap const & theAttributeValues,
38  RTI::VariableLengthData const & aTag,
39  RTI::OrderType sentOrder,
40  RTI::TransportationType theType,
41  RTI::SupplementalReflectInfo theReflectInfo)
42  throw (RTI::FederateInternalError);
43 
44  virtual void removeObjectInstance(
45  RTI::ObjectInstanceHandle theObject,
46  RTI::VariableLengthData const & aTag,
47  RTI::OrderType sentOrder,
48  RTI::SupplementalRemoveInfo theRemoveInfo)
49  throw (RTI::FederateInternalError);
50 
51  virtual void receiveInteraction(
52  RTI::InteractionClassHandle theInteraction,
53  RTI::ParameterHandleValueMap const & theParameterValues,
54  RTI::VariableLengthData const & aTag,
55  RTI::OrderType sentOrder,
56  RTI::TransportationType theType,
57  RTI::SupplementalReceiveInfo theReceiveInfo)
58  throw (RTI::FederateInternalError);
59 
60 
62 
63  virtual void setXHandle(RTI::DimensionHandle handle);
64  virtual void setYHandle(RTI::DimensionHandle handle);
65 
66  virtual DtRegionInfo regionInfoForObject(RTI::ObjectInstanceHandle handle) const;
67  virtual DtRegionInfo lastInteractionRegion() const;
68 
69  virtual void clearLastInteractionRegion();
70 
71 protected:
72 
73 protected:
74  std::map<RTI::ObjectInstanceHandle, DtRegionInfo> myHandleToRegionMap;
75  DtRegionInfo myLastInteractionRegion;
76 
77  RTI::DimensionHandle myXHandle;
78  RTI::DimensionHandle myYHandle;
79 
80  DtRegionInfo myEmptyRegionInfo;
81 };
82 
83 #endif
84 
unsigned long lowerXBound
Definition: ddmFedAmb1516.h:17
DtRegionInfo myLastInteractionRegion
Definition: ddmFedAmb1516.h:82
unsigned long upperXBound
Definition: ddmFedAmb1516.h:19
virtual void discoverObjectInstance(RTI::ObjectInstanceHandle theObject, RTI::ObjectClassHandle theObjectClass, std::wstring const &theObjectInstanceName)
6.5
Definition: ddmFedAmb1516.h:12
Instances of DtVrlFederateAmbassador are used to manage the interface between the RTI and the VR-Link...
Definition: vrlFederateAmbassador1516.h:44
This file declares the class DtVrlFederateAmbassador for HLA 1516.
virtual void reflectAttributeValues(RTI::ObjectInstanceHandle theObject, RTI::AttributeHandleValueMap const &theAttributeValues, RTI::VariableLengthData const &aTag, RTI::OrderType sentOrder, RTI::TransportationType theType, RTI::RegionHandleSet const &theSentRegionHandleSet)
std::map< RTI::ObjectInstanceHandle, DtRegionInfo > myHandleToRegionMap
Definition: ddmFedAmb1516.h:81
RTI::DimensionHandle myYHandle
Definition: ddmFedAmb1516.h:85
virtual DtRegionInfo regionInfoForObject(RTI::ObjectInstanceHandle handle) const
virtual void clearLastInteractionRegion()
virtual void setYHandle(RTI::DimensionHandle handle)
virtual void setXHandle(RTI::DimensionHandle handle)
virtual DtRegionInfo lastInteractionRegion() const
throw(RTI::FederateInternalError)
default constructor
virtual void removeObjectInstance(RTI::ObjectInstanceHandle theObject, RTI::VariableLengthData const &aTag, RTI::OrderType sentOrder)
6.11
bool infoSet
Definition: ddmFedAmb1516.h:21
DtRegionInfo myEmptyRegionInfo
Definition: ddmFedAmb1516.h:87
unsigned long lowerYBound
Definition: ddmFedAmb1516.h:18
RTI::DimensionHandle myXHandle
Definition: ddmFedAmb1516.h:84
unsigned long upperYBound
Definition: ddmFedAmb1516.h:20
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, RTI::ParameterHandleValueMap const &theParameterValues, RTI::VariableLengthData const &aTag, RTI::OrderType sentOrder, RTI::TransportationType theType, RTI::RegionHandleSet const &theSentRegionHandleSet)
static DtVrlFederateAmbassador * create()

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)