VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifFrameMode.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifFrameMode.h,v $ $Revision: 1.14 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
19
#ifndef DtIfSetFrameMode_H_
20
#define DtIfSetFrameMode_H_
21
22
#include <vlutil/vlString.h>
23
#include <
vrfExtProtocol/ifaceCont.h
>
24
#include <vl/hostStructs.h>
25
26
29
struct
DtNetIfSetFrameMode
30
{
31
DtNetFloat64
myFrameTime
;
32
DtNetU8
myFrameMode
;
33
};
34
57
#include "
vrfmsgs/vrfmsgsDefines.h
"
58
class
DT_DLL_vrfmsgs
DtIfSetFrameMode
:
public
DtSimInterfaceContent
59
{
60
61
public
:
63
DtIfSetFrameMode
();
64
66
DtIfSetFrameMode
(
const
DtIfSetFrameMode
& orig);
67
69
const
DtIfSetFrameMode
&
operator=
(
const
DtIfSetFrameMode
& orig);
70
71
virtual
~
DtIfSetFrameMode
();
72
74
virtual
int
type
()
const
;
75
76
virtual
DtSimInterfaceContent
*
clone
()
const
;
77
79
virtual
int
frameMode()
const
;
80
virtual
void
setFrameMode(
int
frameMode);
81
82
virtual
DtReal frameTime()
const
;
83
virtual
void
setFrameTime(DtReal frameTime);
84
85
virtual
int
netRepSize
()
const
;
86
virtual
bool
setFromNet
(
const
char
* contentBuffer,
87
unsigned
contentSize);
88
virtual
bool
setToNet
();
89
90
virtual
void
printDataToString
(
DtString
& str);
91
92
static
DtSimInterfaceContent
* creator();
93
94
protected
:
95
96
DtReal
myFrameTime
;
97
int
myFrameMode
;
98
};
99
100
#endif
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
)