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 
30  virtual ~DtEntIndependentlyTaskedSearch() override;
31 
32  void setWarnedOnce(bool);
33  bool warnedOnce() const;
34 
35 protected:
36 
38  virtual bool initializeSearch(const DtSimulationServices* vrfObjectManager) override;
39 
41  virtual bool inspectEntity(DtSimObjectReference entity) override;
42 
46  virtual bool searchSubordinates(DtSimObjectReference pAggEntity, bool excludeDestroyed) override;
47 
48 private:
51 
54 
55 protected:
56 
59 };
60 
62 {
63  myWarnedOnce = b;
64 }
65 
67 {
68  return myWarnedOnce;
69 }
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
bool warnedOnce() const
Definition: entIndependentlyTaskedSearch.h:66
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:58
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:61
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)