VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
setSwitchSystem.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
14
#include "
vrftasks/setDataReq.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "vlpi/NetStructs.h"
17
#include "
vrftasks/radioMsgTypes.h
"
18
22
#include "
vrftasks/vrftasksDefines.h
"
23
class
DT_DLL_vrftasks
DtSetSwitchSystem
:
public
DtSetDataRequest
24
{
25
26
public
:
27
29
DtSetSwitchSystem
();
30
33
DtSetSwitchSystem
(
const
DtString
& writeName,
34
DtReaderWriterRegistry
* parentRegistry = 0);
35
37
DtSetSwitchSystem
(
const
DtString
& writeName,
const
DtSetSwitchSystem
&
38
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
39
41
const
DtSetSwitchSystem
&
operator=
(
const
DtSetSwitchSystem
& orig);
42
43
virtual
~
DtSetSwitchSystem
();
44
46
virtual
const
DtSetMessageType
&
type
()
const
;
47
49
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
50
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
51
53
virtual
DtString
stringRep
()
const
;
54
56
57
virtual
const
DtString
& systemCategory()
const
;
58
virtual
void
setSystemCategory(
const
DtString
& cat);
60
62
63
virtual
const
DtString
& systemToActivateName()
const
;
64
virtual
void
setSystemToActivateName(
const
DtString
& activeSys);
65
//}@
66
68
69
virtual
const
DtString
& systemToDeactivateName()
const
;
70
virtual
void
setSystemToDeactivateName(
const
DtString
& deactiveSys);
71
//}@
72
75
virtual
int
netRepSize
()
const
;
76
78
virtual
bool
setFromNet
(
const
char
* contentBuffer,
79
unsigned
contentSize);
80
83
virtual
bool
setToNet
();
84
85
static
DtSetDataRequest
* creator();
86
87
protected
:
88
89
DtRwString
mySystemCategory
;
90
DtRwString
mySystemToTurnOn
;
91
DtRwString
mySystemToSwitchOff
;
92
};
93
94
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)