VR-Forces 4.10 Class Documentation
 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 ** $RCSfile: entDiGuySrch.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 2/5/09 MEM
8 *******************************************************************************/
9 
12 
13 #ifndef entDiGuySearch_H_
14 #define entDiGuySearch_H_
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlMachineTypes.h>
19 
20 
21 class DtVrfObject;
22 
32 
36 {
40 };
41 
44 {
45 public:
46 
49 
51  virtual ~DtEntDiGuySearch();
52 
53  virtual void setSearchType(DtDiGuyStringTypeEnum type);
54  virtual DtDiGuyStringTypeEnum searchType() const;
55 
56  virtual void setDiGuySearchString(const DtString& name);
57  virtual const DtString& diGuySearchString() const;
58 
59 protected:
60 
62  virtual bool initializeSearch(const DtVrfObjectManager* vrfObjectManager);
63 
65  virtual bool inspectEntity(const DtVrfObject& entity);
66 
70  virtual bool searchSubordinates(
71  const DtVrfObject& pAggEntity, bool excludeDestroyed);
72 
73 private:
76 
79 
80 protected:
81 
84 
85 };
86 
87 #endif
virtual bool initializeSearch(const DtVrfObject &entity)
Override initializeSearch if you need to do some initialization at the start of the search process...
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...
Definition: entDiGuySearch.h:37
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
DtDiGuyStringTypeEnum myDiGuySearchType
Definition: entDiGuySearch.h:82
virtual bool searchSubordinates(const DtVrfObject &entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
class DtSimSubordinateSearch:
Definition: simSubordinateSearch.h:23
Definition: entDiGuySearch.h:38
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
Definition: entDiGuySearch.h:39
DtDiGuyStringTypeEnum
class DtEntDiGuySearch:
Definition: entDiGuySearch.h:35
DtString myDiGuySearchString
Definition: entDiGuySearch.h:83
class DtVrfObjectManager:
Definition: vrfObjectManager.h:202
Definition: entDiGuySearch.h:43

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)