VR-Forces 4.1.1 Class Documentation
DtEntityDataInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEntityDataInterface.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
11 
15 
16 #pragma once
17 
18 #include <vrfGuiCore/vrfGuiCore.h>
20 #include <vrvCore/DtEntityState.h>
23 
24 namespace makVrf
25 {
30  {
31  public:
33  virtual ~DtEntityDataInterface();
34 
38  virtual void setStateView(const makVrv::DtStateView<makVrv::DtSimState>*);
39 
41  virtual makVrv::DtElementEntry::ElementType type() const;
42 
44  virtual DtVector location(Representation rep = Local) const;
45 
47  virtual std::string label() const;
48 
50  virtual DtTaitBryan orientation(Representation rep = Local) const;
51 
53  virtual DtVector velocity(Representation rep = Local) const;
54 
56  virtual DtVector acceleration(Representation rep = Local) const;
57 
59  virtual double heading() const;
60 
62  virtual makVrv::DtElementID embarkedOn() const;
63 
65  virtual std::vector<makVrv::DtElementID> objectsEmbarked() const;
66 
68  virtual makVrv::DtElementID superior() const;
69 
72  {
73  return myEntityStateView;
74  }
75 
78  makVrv::DtStateView<DtIffStateData>* iffStateDataView() const
79  {
80  return myIffStateDataView;
81  }
82 
85  makVrv::DtStateView<DtVrlinkEmitterSystems>* emitterSystemStateView() const
86  {
87  return myEmitterSystemStateView;
88  }
89 
90  protected:
92  virtual void slot_simObjectEntryAboutToBeRemoved(makVrv::DtSimObjectEntry&);
93 
94  protected:
98  };
99 
101 
102  typedef DtBoost::shared_ptr<DtEntityDataInterface> DtEntityDataInterfacePtr;
103 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)