VR-Forces 4.1 Class Documentation
DtRawVelocitySymbolDecoration.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  **************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
13 
17 
18 namespace makVrv
19 {
20 
21  class DtSymbolDecorationVisualizer;
22  class DtSymbolDecorationUpdaterAgent;
23 
24  namespace DT_PROTOCOL_NAMESPACE
25  {
26 
30  : public DtSymbolDecoration
31  {
32  public:
33 
35  DtRawVelocitySymbolDecoration( unsigned int index,
36  DtSymbolDecorationVisualizer& parentVisualizer );
37 
40 
42  virtual void visualize();
43 
45  virtual void unvisualize();
46 
48  virtual void slot_relativeVelocitySet( const DtVector& velocity );
49 
51  virtual void slot_velocitySet( const DtVector& velocity );
52 
54  virtual void slot_hostIdSet( const std::string& hostId );
55 
57  virtual void slot_displayUnitChanged();
58 
59  protected:
60 
62  virtual void updateDisplay( const DtVector &velocity );
63 
64  protected:
65 
66  unsigned int myIndex;
69  bool myEmbarked;
70  bool myActive;
73 
74  };
75 
76 
81  {
82  public:
83 
86 
89 
91  virtual DtSymbolDecoration* create(
92  DtSymbolDecorationVisualizer& parentVisualizer );
93 
96  virtual DtSymbolDecorationCreator* clone();
97 
99  virtual const std::string& displayName();
100 
103  virtual const std::string& decorationClassName();
104 
107  virtual const std::string& tag();
108 
109  };
110 
111  }
112 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)