VR-Forces 4.6 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
vrfobjcore
simSubordinateSearch.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
class
DtSimSubordinateSearch
;
11
12
#include <vlutil/vlMachineTypes.h>
13
#include "
vrfobjcore/vrfObject.h
"
14
15
class
DtVrfObjectManager
;
16
21
22
#include "
vrfobjcore/vrfobjcoreDefines.h
"
23
class
DT_DLL_vrfobjcore
DtSimSubordinateSearch
24
{
25
public
:
26
28
DtSimSubordinateSearch
();
29
31
virtual
~
DtSimSubordinateSearch
() = 0;
32
39
bool
search(
const
DtUUID
& search,
const
DtUUID
& evaluator,
40
DtSimManager
* simManager);
41
43
virtual
const
DtString
& modifier()
const
;
44
51
virtual
void
setModifier(
const
DtString
& modifier);
52
63
virtual
bool
searchBelow(
const
DtVrfObject
& entity,
bool
excludeDestroyed);
64
67
virtual
bool
searchBelow(
const
DtVrfObjectManager
* mgr,
int
iForce,
bool
excludeDestroyed);
68
70
virtual
bool
result();
71
74
virtual
bool
isTopLevelEntity(
const
DtString
& entity)
const
;
75
78
virtual
bool
isValidEntity(
const
DtVrfObject
& entity);
79
82
virtual
int
forceType(
const
DtString
& entity)
const
;
83
85
virtual
const
DtUUID
& simulationObject()
const
;
86
87
protected
:
88
94
virtual
bool
initializeSearch(
const
DtVrfObject
& entity);
95
virtual
bool
initializeSearch(
const
DtVrfObjectManager
* vrfObjectManager);
96
105
virtual
bool
inspectEntity(
const
DtVrfObject
& entity);
106
107
bool
inspectTopLevelEntity(
const
DtVrfObject
& entity,
bool
excludeDestroyed);
108
109
bool
inspectAggregateEntity(
const
DtVrfObject
& entity,
bool
excludeDestroyed);
110
114
virtual
bool
searchSubtree(
const
DtVrfObject
& entity,
bool
excludeDestroyed);
115
118
virtual
bool
searchSubordinates(
const
DtVrfObject
& entity,
bool
excludeDestroyed);
119
120
private
:
122
DtSimSubordinateSearch
(
const
DtSimSubordinateSearch
& orig);
123
125
DtSimSubordinateSearch
& operator=(
const
DtSimSubordinateSearch
& orig);
126
127
protected
:
128
DtString
myModifier
;
129
bool
myAnyFlag
;
130
bool
myResult
;
131
DtUUID
mySimulationObject
;
132
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)