VR-Forces 5.0.1 Developer's Guide
 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>
14 #include "vrfobjcore/simObject.h"
15 #include <vrfutil/rwUUID.h>
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 DtSimulationServices* vrfObjectManager);
51 
53  virtual bool inspectEntity(DtSimObjectReference entity);
54 
58  virtual bool searchSubordinates(
59  DtSimObjectReference pAggEntity, bool excludeDestroyed);
60 
61 private:
64 
67 
68 protected:
69 
74 
76 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
DtSimObjectReference myPhaseLine
Definition: entLeftOfLineSearch.h:72
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
bool myWarnedOnce
Definition: entLeftOfLineSearch.h:73
DtTacticalGraphicSimObjectFacade myTacticalGraphicSimObjectFacade
Definition: entLeftOfLineSearch.h:75
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.
void setWarnedOnce(bool b)
Definition: entLeftOfLineSearch.h:43
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:24
#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
virtual bool searchSubordinates(DtSimObjectReference entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)