VR-Forces 4.3.1 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
DtSensorController.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/vrvCore.h
>
13
#include <
vrvCore/DtUniqueID.h
>
14
#include <
vrvUtil/DtVirtualBaseClass.h
>
15
16
#include <string>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
class
DtSensor;
22
25
class
DT_DLL_VRVCORE
DtSensorController
:
public
DtVirtualBaseClass
26
{
27
28
public
:
30
DtSensorController
(
DtDe
& de,
DtUniqueID
id
);
31
33
~
DtSensorController
();
34
36
virtual
void
copyTargetSensor( std::string& sensorName );
37
41
virtual
void
setTargetSensor(
const
std::string& sensorName);
42
44
45
virtual
void
setParameterInt(
const
std::string& paramName,
int
val);
46
virtual
void
setParameterFloat(
const
std::string& paramName,
float
val);
47
virtual
void
setParameterBool(
const
std::string& paramName,
bool
val);
48
virtual
void
setParameterString(
const
std::string& paramName,
const
std::string& val);
50
52
virtual
void
setSensorModule(
const
std::string& moduleName);
53
55
virtual
void
rename(
const
std::string& newName);
56
57
protected
:
58
DtSensor
*
myTargetSensor
;
59
DtDe
&
myDe
;
60
DtUniqueID
myUniqueId
;
61
};
62
}
63
64
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)