VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifForces.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrfmsgs/vrfmsgsDefines.h
"
18
#include <
vrfExtProtocol/ifaceCont.h
>
19
#include <
vrfutil/rwForceDescriptionList.h
>
20
24
25
const
int
DtForcesMessageType
= 135;
26
27
class
DT_DLL_vrfmsgs
DtIfForces
:
public
DtSimInterfaceContent
28
{
29
public
:
31
DtIfForces
();
32
34
DtIfForces
(
const
DtIfForces
& orig);
35
37
const
DtIfForces
&
operator=
(
const
DtIfForces
& orig);
38
39
virtual
~
DtIfForces
();
40
41
virtual
int
type
()
const
;
42
43
virtual
DtSimInterfaceContent
*
clone
()
const
;
44
45
virtual
int
netRepSize
()
const
;
46
47
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
48
49
virtual
bool
setToNet
();
50
52
virtual
void
printDataToString
(
DtString
& str);
53
54
static
DtSimInterfaceContent
* creator();
55
56
virtual
int
numberOfForces()
const
;
57
virtual
void
addForce(
const
DtString
& name,
const
DtVector
& color,
int
forceType,
bool
includeInDialogs);
58
virtual
void
force(
int
i,
DtString
& name,
DtVector
& color,
int
& forceType,
bool
& includeInDialogs)
const
;
59
60
protected
:
62
std::vector<DtString>
myForceNames
;
63
std::vector<bool>
myIncludeInDialogs
;
64
std::vector<int>
myForceTypes
;
65
std::vector<DtVector>
myForceColors
;
66
};
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
)