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
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/simInterfaceContent.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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)