VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityDataInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
12 
13 #pragma once
14 
15 #include <vrfGuiCore/vrfGuiCore.h>
17 #include <vrvCore/DtEntityState.h>
22 
23 namespace makVrf
24 {
29  {
30  public:
32  virtual ~DtEntityDataInterface();
33 
37  virtual void setStateView(const makVrv::DtStateView<makVrv::DtSimState>*);
38 
40  virtual makVrv::DtElementEntry::ElementType type() const;
41 
43  virtual DtVector location(Representation rep = Local) const;
44 
46  virtual std::string label() const;
47 
49  virtual DtTaitBryan orientation(Representation rep = Local) const;
50 
52  virtual DtVector velocity(Representation rep = Local) const;
53 
55  virtual DtVector acceleration(Representation rep = Local) const;
56 
58  virtual double heading() const;
59 
61  virtual makVrv::DtElementID embarkedOn() const;
62 
64  virtual std::vector<makVrv::DtElementID> objectsEmbarked() const;
65 
67  virtual makVrv::DtElementID superior() const;
68 
71  {
72  return myEntityStateView;
73  }
74 
77  makVrv::DtStateView<DtIffStateData>* iffStateDataView() const
78  {
79  return myIffStateDataView;
80  }
81 
84  makVrv::DtStateView<DtPropulsionNoiseStateData>* propulsionNoiseStateDataView() const
85  {
86  return myPropulsionNoiseStateDataView;
87  }
88 
91  makVrv::DtStateView<DtVrlinkEmitterSystems>* emitterSystemStateView() const
92  {
93  return myEmitterSystemStateView;
94  }
95 
98  makVrv::DtStateView<DtVrlinkActiveSonars>* activeSonarStateView() const
99  {
100  return myActiveSonarStateView;
101  }
102 
103  protected:
105  virtual void slot_simObjectEntryAboutToBeRemoved(makVrv::DtSimObjectEntry&);
106 
107  protected:
113  };
114 
116 
117  typedef DtBoost::shared_ptr<DtEntityDataInterface> DtEntityDataInterfacePtr;
118 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)