VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtWindStateCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
17
#include <
vrvCore/DtVrvCommand.h
>
18
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCORE
DtWindStateCommand
:
public
DtVrvCommand
25
{
26
public
:
27
DtWindStateCommand
();
28
virtual
~
DtWindStateCommand
();
29
30
//
31
virtual
bool
windDirectionSet()
const
;
32
virtual
float
windDirection()
const
;
33
virtual
void
setWindDirection(
float
radians );
34
35
//
36
virtual
bool
windSpeedSet()
const
;
37
virtual
float
windSpeed()
const
;
38
virtual
void
setWindSpeed(
float
metersPerSecond );
39
40
41
virtual
void
execute(
DtDe
& de);
42
43
protected
:
44
float
myWindDirection
;
45
float
myWindSpeed
;
46
47
bool
myWindDirectionSet
;
48
bool
myWindSpeedSet
;
49
};
50
53
class
DT_DLL_VRVCORE
DtWindStateCommandCreator
:
public
DtVrvCommandCreator
54
{
55
public
:
56
DtWindStateCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
57
virtual
~DtWindStateCommandCreator
() {}
58
59
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
60
};
61
}
//makVrv::
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)