VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleFomMapper
MyEntityStateRepInterceptor.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include "
exampleFomMapper.h
"
13
14
#include <vl/hlaObj.h>
15
#include <vl/entitySR.h>
16
#include <
vrvVrl/DtEntityStateInterceptor.h
>
17
#include <
vrvVrl/DtEntityStateInterceptorCreator.h
>
18
#include <
vrvVrl/DtVrlinkEntityStateListener.h
>
19
21
class
DT_DLL_EXAMPLEFOMMAPPER
MyEntityStateRepInterceptor
22
:
public
makVrv::vrvHla13::DtEntityStateInterceptor<DtEntityStateRepository>
23
{
24
public
:
25
27
virtual
void
setMass(
float
mass );
28
30
virtual
float
mass()
const
;
31
32
public
:
33
35
virtual
DtStateRepository* clone(
bool
copy =
false
)
const
;
36
37
protected
:
38
39
friend
class
MyEntityStateRepInterceptorCreator
;
40
42
MyEntityStateRepInterceptor
( makVrv::vrvHla13::DtVrlinkEntityStateListener* listener );
43
44
protected
:
45
46
float
myMass
;
47
48
};
49
50
52
class
DT_DLL_EXAMPLEFOMMAPPER
MyEntityStateRepInterceptorCreator
53
:
public
makVrv::vrvHla13::DtEntityStateInterceptorCreator
54
{
55
public
:
56
58
MyEntityStateRepInterceptorCreator
();
59
61
virtual
~
MyEntityStateRepInterceptorCreator
();
62
64
virtual
DtEntityStateRepository
* create(makVrv::vrvHla13::DtVrlinkEntityStateListener* listener);
65
};
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)