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
vrfmodel
destroyEngineeringObjectController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfmodel/affectEngineeringObjectController.h
"
12
#include "
vrfobjcore/affectEngineeringObjectPSR.h
"
13
#include "vlutil/vlString.h"
14
#include "
vrfmodel/vrfmodelDefines.h
"
15
#include "
vrfutil/rwVectorList.h
"
16
17
class
DtDestroyEngineeringObjectControllerDescriptor
;
18
class
DtRwAffectableEngineeringObject
;
19
21
class
DT_DLL_vrfmodel
DtDestroyEngineeringObjectController
:
public
DtAffectEngineeringObjectController
22
{
23
public
:
25
DtDestroyEngineeringObjectController
(
const
DtString
& name,
DtVrfObject
* owner,
26
DtSimManager
* simManager,
DtComponentDescriptor
* desc = NULL,
27
DtReaderWriterRegistry
* parentRegistry = 0);
28
30
virtual
~
DtDestroyEngineeringObjectController
();
31
33
virtual
bool
init
();
34
35
private
:
37
DtDestroyEngineeringObjectController
(
const
DtDestroyEngineeringObjectController
& orig);
38
40
DtDestroyEngineeringObjectController
&
operator=
(
const
DtDestroyEngineeringObjectController
& orig);
41
42
public
:
43
44
virtual
const
char
*
type
()
const
;
45
47
static
DtSimComponent
* creator(
const
DtString
& name,
DtVrfObject
* owner,
48
DtSimManager
* simManager,
DtComponentDescriptor
* desc,
49
DtReaderWriterRegistry
* parentRegistry);
50
59
static
void
destroyCallback(
DtSimMessage
* msg,
void
* usr);
60
64
virtual
void
processDestroyTask(
DtSimMessage
* msg);
65
68
virtual
void
registerTaskMsgCallbacks
();
69
71
virtual
void
clearTask
();
72
73
protected
:
74
76
virtual
void
processIdleState
();
77
80
virtual
void
processSettingUpState
();
81
84
virtual
void
processAffectingState
();
85
88
virtual
void
processAffectingPausedState
();
89
92
virtual
void
processMovingIntoRangeState
();
93
95
virtual
void
destroyObject(
DtVrfObject
* obj);
96
104
virtual
bool
updateDestructionRate(
const
DtVrfObject
* obj,
bool
stop,
bool
forceSend);
105
106
protected
:
107
const
DtDestroyEngineeringObjectControllerDescriptor
*
myDestroyEngineeringObjDesc
;
108
110
std::map<DtString, DtRwAffectableEngineeringObject*>
myEngInfoByTaskType
;
111
113
std::map<DtObjectType, DtRwAffectableEngineeringObject*>
myEngInfoByObjType
;
114
};
115
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
)