VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifResMonEnable.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifResMonEnable.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
19
#ifndef DtIfResourceMonitorEnable_H_
20
#define DtIfResourceMonitorEnable_H_
21
22
#include <vlutil/vlString.h>
23
#include <vrfExtProtocol/ifaceCont.h>
24
#include <vlutil/vlNetTypes.h>
25
#include <vl/hostStructs.h>
26
29
struct
DtNetIfResourceMonitorEnable
30
{
31
DtNetBoolean
myEnable
;
32
};
33
36
#include "
vrfmsgs/vrfmsgsDefines.h
"
37
class
DT_DLL_vrfmsgs
DtIfResourceMonitorEnable
:
public
DtSimInterfaceContent
38
{
39
40
public
:
42
DtIfResourceMonitorEnable
();
43
45
DtIfResourceMonitorEnable
(
const
DtIfResourceMonitorEnable
& orig);
46
48
const
DtIfResourceMonitorEnable
& operator=(
const
DtIfResourceMonitorEnable
& orig);
49
50
virtual
~
DtIfResourceMonitorEnable
();
51
53
virtual
int
type()
const
;
54
55
virtual
DtSimInterfaceContent
* clone()
const
;
56
57
virtual
int
netRepSize()
const
;
58
virtual
bool
setFromNet(
const
char
* contentBuffer,
59
unsigned
contentSize);
60
virtual
bool
setToNet();
61
62
virtual
void
printDataToString(
DtString
& str);
63
64
static
DtSimInterfaceContent
* creator();
65
66
public
:
67
void
setEnable
(
const
bool
& b) { myEnable = b; };
68
const
bool
& enable()
const
{
return
myEnable; };
69
70
protected
:
71
bool
myEnable;
72
};
73
74
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)