VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entLeftOfLineSearch.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 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 
15 class DtSimVrfObject;
16 
24 {
25 public:
26 
29 
31 
33  virtual ~DtEntLeftOfLineSearch();
34 
37  virtual const DtUUID& line() const;
38 
41  virtual void setLine(const DtUUID&);
42 
43  void setWarnedOnce(bool b) { myWarnedOnce = b; };
44  bool warnedOnce() const { return myWarnedOnce; };
45 
46 protected:
47 
50  virtual bool initializeSearch(const DtVrfObjectManager* vrfObjectManager);
51 
53  virtual bool inspectEntity(const DtVrfObject& entity);
54 
58  virtual bool searchSubordinates(
59  const DtVrfObject& pAggEntity, bool excludeDestroyed);
60 
61 private:
64 
67 
68 protected:
69 
74 };
virtual bool initializeSearch(const DtVrfObject &entity)
Override initializeSearch if you need to do some initialization at the start of the search process...
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
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
bool myWarnedOnce
Definition: entLeftOfLineSearch.h:73
virtual bool searchSubordinates(const DtVrfObject &entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
void setWarnedOnce(bool b)
Definition: entLeftOfLineSearch.h:43
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
Instances of DtEntLeftOfLineSearch are used to search the echelon entity structure for ANY entities l...
Definition: entLeftOfLineSearch.h:23
bool warnedOnce() const
Definition: entLeftOfLineSearch.h:44
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:23
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
DtUUID myLine
Member variables.
Definition: entLeftOfLineSearch.h:71
class DtVrfObjectManager:
Definition: vrfObjectManager.h:201
DtSharedVrfObjectReference myPhaseLine
Definition: entLeftOfLineSearch.h:72

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)