VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfObjectPredicateEvaluator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 
14 
15 class DtSimulationSrecices;
16 
18 {
19 
20 public:
21 
24 
27 
30 
33 
36 
38  virtual DtVrfObjectPredicateEvaluator* clone() const;
39 
41  int operator==(const DtVrfObjectPredicateEvaluator& orig) const;
42  int operator!=(const DtVrfObjectPredicateEvaluator& orig) const;
43 
45  virtual bool isTrue(const DtSimObject* vrfObject) const;
46 
48  virtual void setPredicate(const DtVrfObjectPredicate& predicate);
49  virtual const DtVrfObjectPredicate* predicate() const;
50 
56  virtual void setTestInterval(DtTime intervalInSeconds);
57  virtual DtTime testInterval() const;
58 
61  virtual bool isTimeToTest() const;
62 
67  virtual const DtSimulationServices* simulationServices() const;
68  virtual void setSimulationServices(const DtSimulationServices* clock);
69 
70 protected:
71 
74 
77 
80 
84 };
DtVrfObjectPredicate * myPredicate
This is the predicate to evaluate.
Definition: vrfObjectPredicateEvaluator.h:73
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Contains the DtVrfObjectPredicate class declaration.
Definition: vrfObjectPredicate.h:20
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtTime myTimeToNextTest
The time until our next isTrue() test may be performed.
Definition: vrfObjectPredicateEvaluator.h:76
DtTime myTestInterval
Time interval between tests. By default, the interval is 0,.
Definition: vrfObjectPredicateEvaluator.h:79
const DtSimulationServices * mySimulationServices
The clock being used for establishing the rate at which isTrue() tests should be performed.
Definition: vrfObjectPredicateEvaluator.h:83
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
Definition: vrfObjectPredicateEvaluator.h:17
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:88
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)

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)