VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtSensorFloatParameterCommand.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 <
vrvCore/DtVrvCommand.h
>
13
14
namespace
makVrv
15
{
18
class
DT_DLL_VRVCORE
DtSensorFloatParameterCommand
:
public
DtVrvCommand
19
{
20
public
:
21
DtSensorFloatParameterCommand
();
22
virtual
~
DtSensorFloatParameterCommand
();
23
25
virtual
std::string sensorModeName()
const
;
27
virtual
void
setSensorModeName(
const
std::string& mode);
28
30
virtual
std::string parameterName()
const
;
32
virtual
void
setParameterName(
const
std::string& obs);
33
35
virtual
float
parameterValue()
const
;
37
virtual
void
setParameterValue(
float
value );
38
40
virtual
void
execute(
DtDe
& de);
41
42
protected
:
43
std::string
mySensorModeName
;
44
std::string
myParameterName
;
45
float
myParameterValue
;
46
};
47
50
class
DT_DLL_VRVCORE
DtSensorFloatParameterCommandCreator
:
public
DtVrvCommandCreator
51
{
52
public
:
53
DtSensorFloatParameterCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
54
virtual
~DtSensorFloatParameterCommandCreator
() {}
55
56
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
57
};
58
59
60
}
//makVrv::
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
)