VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtAgentUpdateResolver.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAgentUpdateResolver.h,v $ $Revision: 1.17 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
#include <
vrvCore/DtAgentDefinition.h
>
17
#include <
vrvCore/DtAgentUpdateResolverInterface.h
>
18
19
namespace
makVrv
20
{
21
class
DtDe;
22
25
template
<
class
ObjectType>
26
class
DtAgentUpdateResolver
:
public
DtAgentUpdateResolverInterface
27
{
28
public
:
29
typedef
DtAgentDefinition<ObjectType>
ObjectTypeDefinition
;
30
32
DtAgentUpdateResolver
(
DtDe
& de, ObjectType*
object
,
33
ObjectTypeDefinition
* definition);
34
36
virtual
~DtAgentUpdateResolver
();
37
39
virtual
void
handleUpdateMessage
(
DtMessage
& message);
40
42
virtual
const
std::string&
className
()
const
;
43
46
virtual
bool
canCastToObject
(
const
std::string&
className
);
47
50
virtual
void
*
objectMemoryAddress
()
const
;
51
53
54
ObjectType*
object
();
55
const
ObjectType*
object
()
const
;
57
58
protected
:
59
60
DtDe
&
myDe
;
61
ObjectType*
myObjectPointer
;
62
ObjectTypeDefinition
*
myObjectTypeDefinition
;
63
};
64
}
65
66
67
#define DtAgentUpdateResolver_INL_
68
#include "DtAgentUpdateResolver.inl"
69
#undef DtAgentUpdateResolver_INL_
70
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)