VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifControl.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifControl.h,v $ $Revision: 1.15 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
19
#ifndef DtIfControl_H_
20
#define DtIfControl_H_
21
22
#include <vlutil/vlString.h>
23
#include <
vrfExtProtocol/ifaceCont.h
>
24
#include <vl/hostStructs.h>
25
26
29
struct
DtNetIfControl
30
{
31
DtNetFloat64
myTime
;
32
DtNetU16
myControlType
;
33
DtNetU32
myPadding1
;
34
DtNetU16
myPadding2
;
35
36
37
};
38
50
#include "
vrfmsgs/vrfmsgsDefines.h
"
51
class
DT_DLL_vrfmsgs
DtIfControl
:
public
DtSimInterfaceContent
52
{
53
54
public
:
56
DtIfControl
();
57
59
DtIfControl
(
const
DtIfControl
& orig);
60
62
const
DtIfControl
&
operator=
(
const
DtIfControl
&
63
orig);
64
65
virtual
~
DtIfControl
();
66
68
virtual
int
type
()
const
;
69
70
virtual
DtSimInterfaceContent
*
clone
()
const
;
71
74
virtual
int
controlType()
const
;
75
virtual
void
setControlType(
int
controlType);
76
77
virtual
int
netRepSize
()
const
;
78
virtual
bool
setFromNet
(
const
char
* contentBuffer,
79
unsigned
contentSize);
80
virtual
bool
setToNet
();
81
82
virtual
void
printDataToString
(
DtString
& str);
83
84
static
DtSimInterfaceContent
* creator();
85
88
virtual
DtTime duration()
const
;
89
virtual
void
setDuration(DtTime time);
90
91
protected
:
92
int
myControlType
;
93
DtTime
myTime
;
94
};
95
96
#endif
97
98
99
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
)