VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfplanmgr
checkEntityIdLevelSearch.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <vlutil/vlString.h>
12
#include <vlutil/vlMachineTypes.h>
13
#include "
vrfobjcore/simSubordinateSearch.h
"
14
#include "
vrfobjcore/vrfObjectReference.h
"
15
23
24
#include "
vrfplanmgr/vrfplanmgrDefines.h
"
25
class
DT_DLL_vrfplanmgr
DtCheckEntityIdLevelSearch
:
public
DtSimSubordinateSearch
26
{
27
public
:
28
30
DtCheckEntityIdLevelSearch
();
31
33
virtual
~
DtCheckEntityIdLevelSearch
();
34
35
void
setCombatIdLevel(
int
i);
36
void
setEntity(
DtSharedVrfObjectReference
);
37
38
protected
:
39
41
virtual
bool
initializeSearch
(
const
DtVrfObjectManager
* vrfObjectManager);
42
44
virtual
bool
inspectEntity
(
const
DtVrfObject
& entity);
45
49
virtual
bool
searchSubordinates
(
50
const
DtVrfObject
& pAggEntity,
bool
excludeDestroyed);
51
52
private
:
54
DtCheckEntityIdLevelSearch
(
const
DtCheckEntityIdLevelSearch
& orig);
55
57
DtCheckEntityIdLevelSearch
&
operator=
(
const
DtCheckEntityIdLevelSearch
& orig);
58
59
protected
:
60
int
myCombatIdLevel
;
61
DtSharedVrfObjectReference
myEntity
;
62
};
63
64
inline
void
DtCheckEntityIdLevelSearch::setCombatIdLevel
(
int
i)
65
{
66
myCombatIdLevel
= i;
67
}
68
69
inline
void
DtCheckEntityIdLevelSearch::setEntity
(
DtSharedVrfObjectReference
o)
70
{
71
myEntity
= o;
72
}
73
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)