VR-Link API Documentation for HLA Evolved
 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) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: ddmFedAmb1516e.h,v $ $Revision: 1.1.2.2 $ $State: Exp $
7 *********************************************************************/
8 #pragma once
9 
10 #if DtHLA
11 #if DtHLA_1516
12 #if DtHLA_1516_EVOLVED
13 
14 
16 
18 {
19 public:
20  struct DtRegionInfo
21  {
22  unsigned long lowerXBound;
23  unsigned long lowerYBound;
24  unsigned long upperXBound;
25  unsigned long upperYBound;
26  bool infoSet;
27  };
28 
30  throw (RTI::FederateInternalError);
31 
32  virtual ~DtDdmFederateAmbassador() throw();
33 
34  virtual void discoverObjectInstance(
35  RTI::ObjectInstanceHandle theObject,
36  RTI::ObjectClassHandle theObjectClass,
37  std::wstring const & theObjectInstanceName)
38  throw (RTI::FederateInternalError);
39 
40  virtual void reflectAttributeValues(
41  RTI::ObjectInstanceHandle theObject,
42  RTI::AttributeHandleValueMap const & theAttributeValues,
43  RTI::VariableLengthData const & aTag,
44  RTI::OrderType sentOrder,
45  RTI::TransportationType theType,
46  RTI::SupplementalReflectInfo theReflectInfo)
47  throw (RTI::FederateInternalError);
48 
49  virtual void removeObjectInstance(
50  RTI::ObjectInstanceHandle theObject,
51  RTI::VariableLengthData const & aTag,
52  RTI::OrderType sentOrder,
53  RTI::SupplementalRemoveInfo theRemoveInfo)
54  throw (RTI::FederateInternalError);
55 
56  virtual void receiveInteraction(
57  RTI::InteractionClassHandle theInteraction,
58  RTI::ParameterHandleValueMap const & theParameterValues,
59  RTI::VariableLengthData const & aTag,
60  RTI::OrderType sentOrder,
61  RTI::TransportationType theType,
62  RTI::SupplementalReceiveInfo theReceiveInfo)
63  throw (RTI::FederateInternalError);
64 
65 
67 
68  virtual void setXHandle(RTI::DimensionHandle handle);
69  virtual void setYHandle(RTI::DimensionHandle handle);
70 
71  virtual DtRegionInfo regionInfoForObject(RTI::ObjectInstanceHandle handle) const;
72  virtual DtRegionInfo lastInteractionRegion() const;
73 
74  virtual void clearLastInteractionRegion();
75 
76 protected:
77 
78 protected:
79  std::map<RTI::ObjectInstanceHandle, DtRegionInfo> myHandleToRegionMap;
80  DtRegionInfo myLastInteractionRegion;
81 
82  RTI::DimensionHandle myXHandle;
83  RTI::DimensionHandle myYHandle;
84 
85  DtRegionInfo myEmptyRegionInfo;
86 };
87 
88 #endif
89 #endif
90 #endif
91 
unsigned long lowerXBound
Definition: ddmFedAmb13.h:17
DtRegionInfo myLastInteractionRegion
Definition: ddmFedAmb13.h:74
unsigned long upperXBound
Definition: ddmFedAmb13.h:19
Definition: ddmFedAmb13.h:12
Instances of DtVrlFederateAmbassador are used to manage the interface between the RTI and the VR-Link...
Definition: vrlFederateAmbassador13.h:45
This file declares the class DtVrlFederateAmbassador for HLA 1516.
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
! Object Management Services //!
RTI::DimensionHandle myYHandle
Definition: ddmFedAmb13.h:77
virtual void clearLastInteractionRegion()
virtual void setYHandle(RTI::DimensionHandle handle)
virtual void setXHandle(RTI::DimensionHandle handle)
virtual DtRegionInfo lastInteractionRegion() const
throw(RTI::FederateInternalError)
default constructor
std::map< RTI::ObjectHandle, DtRegionInfo > myHandleToRegionMap
Definition: ddmFedAmb13.h:73
bool infoSet
Definition: ddmFedAmb13.h:21
DtRegionInfo myEmptyRegionInfo
Definition: ddmFedAmb13.h:79
unsigned long lowerYBound
Definition: ddmFedAmb13.h:18
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, const RTI::ParameterHandleValuePairSet &theParameters, const char *theTag)
supplied C4
virtual void reflectAttributeValues(RTI::ObjectHandle theObject, const RTI::AttributeHandleValuePairSet &theAttributes, const char *theTag)
supplied C4
RTI::DimensionHandle myXHandle
Definition: ddmFedAmb13.h:76
unsigned long upperYBound
Definition: ddmFedAmb13.h:20
virtual DtRegionInfo regionInfoForObject(RTI::ObjectHandle handle) const
virtual void removeObjectInstance(RTI::ObjectHandle theObject, const char *theTag)
supplied C4
static DtVrlFederateAmbassador * create()

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)