VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entDiGuySearch.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vlutil/vlString.h>
9 #include <vlutil/vlMachineTypes.h>
11 
21 
25 {
29 };
30 
33 {
34 public:
35 
38 
40  virtual ~DtEntDiGuySearch();
41 
42  virtual void setSearchType(DtDiGuyStringTypeEnum type);
43  virtual DtDiGuyStringTypeEnum searchType() const;
44 
45  virtual void setDiGuySearchString(const DtString& name);
46  virtual const DtString& diGuySearchString() const;
47 
48 protected:
49 
51  virtual bool initializeSearch(const DtSimulationServices* vrfObjectManager);
52 
54  virtual bool inspectEntity(DtSimObjectReference entity);
55 
59  virtual bool searchSubordinates(
60  DtSimObjectReference pAggEntity, bool excludeDestroyed);
61 
62 private:
65 
68 
69 protected:
70 
73 
74 };
Definition: entDiGuySearch.h:26
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
DtDiGuyStringTypeEnum myDiGuySearchType
Definition: entDiGuySearch.h:71
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:24
Definition: entDiGuySearch.h:27
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
Definition: entDiGuySearch.h:28
DtDiGuyStringTypeEnum
class DtEntDiGuySearch:
Definition: entDiGuySearch.h:24
DtString myDiGuySearchString
Definition: entDiGuySearch.h:72
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:94
Definition: entDiGuySearch.h:32
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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)