VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
15 
23 
26 {
27 public:
28 
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:
55 
58 
59 protected:
62 };
63 
65 {
66  myCombatIdLevel = i;
67 }
68 
70 {
71  myEntity = o;
72 }
73 
virtual bool initializeSearch(const DtVrfObject &entity)
Override initializeSearch if you need to do some initialization at the start of the search process...
virtual bool inspectEntity(const DtVrfObject &entity)
Override inspectEntity to do any tests you want to do on base entities that are found in the search...
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
virtual bool searchSubordinates(const DtVrfObject &entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
class DtCheckEntityIdLevelSearch:
Definition: checkEntityIdLevelSearch.h:25
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:23
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
void setCombatIdLevel(int i)
Definition: checkEntityIdLevelSearch.h:64
class DtVrfObjectManager:
Definition: vrfObjectManager.h:201
int myCombatIdLevel
Definition: checkEntityIdLevelSearch.h:60
void setEntity(DtSharedVrfObjectReference)
Definition: checkEntityIdLevelSearch.h:69
DtSharedVrfObjectReference myEntity
Definition: checkEntityIdLevelSearch.h:61

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)