VR-Forces 5.0.2 Developer's Guide
 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 
12 #include <vlutil/vlString.h>
13 #include <vlutil/vlMachineTypes.h>
15 
23 class DtLocalObject;
24 
26 {
27 public:
28 
31 
33  virtual ~DtCheckEntityIdLevelSearch();
34 
35  void setCombatIdLevel(int i);
36  void setEntity(const DtLocalObject*);
37 
38 protected:
39 
41  virtual bool initializeSearch(const DtSimulationServices* vrfObjectManager);
42 
44  virtual bool inspectEntity(DtLocalObject* entity, DtSimObjectReference objectToCheck);
45  virtual bool inspectEntity(DtSimObjectReference objectToCheck);
46 
47 private:
50 
53 
54 protected:
57 };
58 
60 {
61  myCombatIdLevel = i;
62 }
63 
65 {
66  myEntity = o;
67 }
68 
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
Definition: checkEntityIdLevelSearch.h:25
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
const DtLocalObject * myEntity
Definition: checkEntityIdLevelSearch.h:56
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:24
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
void setCombatIdLevel(int i)
Definition: checkEntityIdLevelSearch.h:59
void setEntity(const DtLocalObject *)
Definition: checkEntityIdLevelSearch.h:64
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
virtual bool initializeSearch(DtSimObjectReference entity)
Override initializeSearch if you need to do some initialization at the start of the search process...
virtual bool inspectEntity(DtSimObjectReference entity)
Override inspectEntity to do any tests you want to do on base entities that are found in the search...
int myCombatIdLevel
Definition: checkEntityIdLevelSearch.h:55
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)