VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHeadingTape.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2020 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vector>
12 
13 // Use the VR-Vantage namespace.
14 // All classes in VR-Vantage are in this namespace.
15 namespace makVrv
16 {
17  class DtDe;
18  class DtWindowObjectAgent;
19  class DtWindowSurfaceAgent;
20  class DtObserver;
21 
42  {
43  public:
45  DtHeadingTape( DtDe& de, DtObserver& observer );
46 
48  virtual ~DtHeadingTape();
49 
57  virtual void init();
58 
60  virtual void tick();
61  protected:
63  typedef std::vector<DtWindowObjectAgent*> DtWindowObjects;
64  protected:
72  DtWindowObjectAgent* myHeadingTapeLowObject;
74  DtWindowObjectAgent* myheadingTapeHighObject;
76  DtWindowSurfaceAgent* mySurface;
77  };
78 }
DtWindowObjectAgent * myHeadingTapeLowObject
Root object to control the 0-180 heading tape.
Definition: DtHeadingTape.h:72
DtWindowSurfaceAgent * mySurface
Surface that clips the heading tape.
Definition: DtHeadingTape.h:76
A class for creating a heading tape on screen using DtWindowObjects.
Definition: DtHeadingTape.h:41
DtHeadingTape(DtDe &de, DtObserver &observer)
CTOR.
virtual void init()
Initialise the heading tape by creating a DtWindowSurface, the lines for each heading increment...
virtual void tick()
Update the heading tape.
A facade for a DtObserverObject.
Definition: DtObserver.h:37
DtWindowObjects myWindowAgents
Vector of the window agents.
Definition: DtHeadingTape.h:70
virtual ~DtHeadingTape()
Virtual DTOR.
DtDe & myDe
DtDe reference.
Definition: DtHeadingTape.h:66
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtObserver & myObserver
Current Observer refernece.
Definition: DtHeadingTape.h:68
std::vector< DtWindowObjectAgent * > DtWindowObjects
typedef vector for holding DtWindowObjectAgents
Definition: DtHeadingTape.h:63
DtWindowObjectAgent * myheadingTapeHighObject
Root object to control the 180-360(0) heading tape.
Definition: DtHeadingTape.h:74

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)