VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGimbalDriver.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtDriver.h>
13 
15 
16 #include <string>
17 
18 
19 namespace makVrv
20 {
21  class DtGeoReference;
22  class DtSceneObjectAgent;
23  class DtSceneObject;
24 }
25 
26 class DtGeodeticCoord;
27 
38 {
39 public:
40 
43 
45  virtual ~DtGimbalDriver();
46 
49 
52  virtual const std::string& className() const;
53 
54  protected:
60  virtual bool onStart();
61 
65  virtual bool onStop();
66 
78  virtual bool onTick();
79 
84  virtual void attachObserverToEntity( const std::string& entityName );
85 
89  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
91 
96  virtual bool initialize();
97 
101  virtual void slot_coordinateSystemChanged();
102 
103 
104 private:
106  DtGimbalDriver();
107 
108 protected:
111  makVrv::DtSceneObjectAgent* myGimbalSceneObjectAgent;
115  DtGeodeticCoord* myTargetLocation;
116 };
makVrv::DtSignalConnectionManager mySignalConnections
Definition: DtGimbalDriver.h:114
makVrv::DtSceneObject * myPlaneSceneObject
Definition: DtGimbalDriver.h:112
The DtGeoReference class provides a mechanism to convert between geodetic coordinates and topocentric...
Definition: DtGeoReference.h:28
A Record of an IG instance.
Definition: DtDeRecord.h:24
virtual void attachObserverToEntity(const std::string &entityName)
Tells the current observer to attach to the named entity.
virtual void slot_displayEngineAdded(const makVrv::DtDeRecord &igRecord)
Ensures the driver is properly restarted when a de is connected (such as a remote display engine)...
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
virtual bool onStart()
Performs startup logic for the driver.
makVrv::DtElementID myGimbalId
Definition: DtGimbalDriver.h:113
The DtDriver is an abstract class.
Definition: DtDriver.h:34
DtGimbalDriver()
Unimplemented CTOR to prevent auto-creation.
virtual const std::string & className() const
Returns the driver&#39;s class name.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
virtual ~DtGimbalDriver()
Virtual DTOR.
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
virtual bool initialize()
initialize() looks for the plane created by DtExampleDriver (or DtExampleDriverPlugin).
Base class to provide boost signal/slot management.
DtGeodeticCoord * myTargetLocation
Definition: DtGimbalDriver.h:115
DtGimbalDriver looks for the plane element created by DtExampleDriver (or DtDriverExamplePlugin) and ...
Definition: DtGimbalDriver.h:37
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:41
makVrv::DtSceneObjectAgent * myGimbalSceneObjectAgent
Definition: DtGimbalDriver.h:111
makVrv::DtGeoReference * myPlaneGeoRef
Definition: DtGimbalDriver.h:109
makVrv::DtGeoReference * myGimbalGeoRef
Definition: DtGimbalDriver.h:110
virtual bool onStop()
Performs shutdown logic for the driver.
virtual void slot_coordinateSystemChanged()
We use this to set up our target location.
virtual bool onTick()
Performs update logic for the driver.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)