VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surrenderSearch.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vlutil/vlString.h>
9 #include <vlutil/vlMachineTypes.h>
11 
20 
23 {
24 public:
25 
28 
30  virtual ~DtSurrenderSearch();
31 
32  void setSurrenderTestValue(bool);
33  bool surrenderTestValue() const;
34 
35 protected:
36 
38  virtual bool initializeSearch(const DtSimulationServices* vrfObjectManager);
39 
41  virtual bool inspectEntity(DtSimObjectReference entity);
42 
46  virtual bool searchSubordinates(DtSimObjectReference pAggEntity, bool excludeDestroyed);
47 
49  virtual bool isValidEntity(DtSimObjectReference entity);
50 
51 private:
54 
57 
58 protected:
60 };
61 
62 
64 {
66 }
67 
69 {
70  return mySurrenderTestVal;
71 }
bool mySurrenderTestVal
Definition: surrenderSearch.h:59
DtSimSubordinateSearch & operator=(const DtSimSubordinateSearch &orig)
assignment operator; not implemented
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
class DtSurrenderSearch:
Definition: surrenderSearch.h:22
void setSurrenderTestValue(bool)
Definition: surrenderSearch.h:63
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 isValidEntity(DtSimObjectReference entity)
Returns true if the object is an aggregate, a platform, or a lifeform or cultural feature...
virtual bool searchSubordinates(DtSimObjectReference entity, bool excludeDestroyed)
SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate...
bool surrenderTestValue() const
Definition: surrenderSearch.h:68
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
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 Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)