VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindStateCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/vrvCore.h>
14 
15 #include <vrvCore/DtVrvCommand.h>
16 
17 namespace makVrv
18 {
22  {
23  public:
25  virtual ~DtWindStateCommand();
26 
29  virtual float windBaseMSLAltitude() const;
30  virtual void setWindBaseMSLAltitude( float baseMSLAltitude );
31 
34  virtual bool windDirectionSet() const;
35  virtual float windDirection() const;
36  virtual void setWindDirection( float radians );
37 
40  virtual bool windSpeedSet() const;
41  virtual float windSpeed() const;
42  virtual void setWindSpeed( float metersPerSecond );
43 
49  virtual void execute(DtDe& de);
50 
51  protected:
54  float myWindSpeed;
55 
58  };
59 
63  {
64  public:
67 
68  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
69  };
70 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtWindStateCommandCreator creates a DtWindStateCommand.
Definition: DtWindStateCommand.h:62
virtual ~DtWindStateCommandCreator()
Definition: DtWindStateCommand.h:66
float myWindBaseMSLAltitude
Definition: DtWindStateCommand.h:52
DtWindStateCommandCreator(GlobalIdConvertFunc func)
Definition: DtWindStateCommand.h:65
boost::function< DtUniqueID(const std::string &)> GlobalIdConvertFunc
typedef for the function that takes a protocol specific id (as a string) and looks up the DtUniqueID ...
Definition: DtVrvCommand.h:40
bool myWindSpeedSet
Definition: DtWindStateCommand.h:57
float myWindSpeed
Definition: DtWindStateCommand.h:54
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myWindDirectionSet
Definition: DtWindStateCommand.h:56
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtWindStateCommand.
Definition: DtWindStateCommand.h:21
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
float myWindDirection
Definition: DtWindStateCommand.h:53
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)