VR-Forces Development_Version 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
vrftasks
setSensorEnabledRequest.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/setDataRequest.h
"
12
#include "
vrfutil/rwBoolean.h
"
13
#include "
vrfutil/rwString.h
"
14
15
16
27
#include "
vrftasks/vrftasksDefines.h
"
28
class
DT_DLL_vrftasks
DtSetSensorEnabledRequest
:
public
DtSetDataRequest
29
{
30
31
public
:
32
34
DtSetSensorEnabledRequest
();
35
38
DtSetSensorEnabledRequest
(
const
DtString
& writeName,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
DtSetSensorEnabledRequest
(
const
DtString
& writeName,
const
DtSetSensorEnabledRequest
&
43
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
const
DtSetSensorEnabledRequest
&
operator=
(
const
DtSetSensorEnabledRequest
& orig);
47
48
virtual
~
DtSetSensorEnabledRequest
();
49
51
virtual
const
DtSetMessageType
&
type
()
const
;
52
54
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
55
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
56
58
virtual
DtString
stringRep
()
const
;
59
61
virtual
bool
enabled()
const
;
62
virtual
void
setEnabled(
bool
en);
63
65
virtual
const
DtString
& sensorName()
const
;
66
virtual
void
setSensorName(
const
DtString
& name);
67
70
virtual
int
netRepSize
()
const
;
71
73
virtual
bool
setFromNet
(
const
char
* contentBuffer,
74
unsigned
contentSize);
75
78
virtual
bool
setToNet
();
79
80
static
DtSetDataRequest
* creator();
81
82
protected
:
83
84
DtRwBoolean
myEnabled
;
85
DtRwString
mySensorName
;
86
87
};
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)