VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entIndependentlyTaskedSearch.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 #include <vlutil/vlString.h>
11 #include <vlutil/vlMachineTypes.h>
13 #include <vrfutil/rwUUID.h>
14 
23 {
24 public:
25 
28 
31 
32  void setWarnedOnce(bool);
33  bool warnedOnce() const;
34 
35 protected:
36 
38  virtual bool initializeSearch(const DtSimulationServices* vrfObjectManager);
39 
41  virtual bool inspectEntity(DtSimObjectReference entity);
42 
46  virtual bool searchSubordinates(
47  DtSimObjectReference pAggEntity, bool excludeDestroyed);
48 
49 private:
52 
55 
56 protected:
57 
60 };
61 
63 {
64  myWarnedOnce = b;
65 }
66 
68 {
69  return myWarnedOnce;
70 }
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
bool warnedOnce() const
Definition: entIndependentlyTaskedSearch.h:67
Instances of DtEntIndependentlyTaskedSearch are used to search the echelon entity structure for ANY e...
Definition: entIndependentlyTaskedSearch.h:22
bool myWarnedOnce
Member variables.
Definition: entIndependentlyTaskedSearch.h:59
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Contains the DtUUID class declaration.
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:24
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
virtual bool searchSubordinates(DtSimObjectReference entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
void setWarnedOnce(bool)
Definition: entIndependentlyTaskedSearch.h:62
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
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...

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)