VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
evalAnd.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/evaluator.h"
12 
18 
21 {
22 public:
23 
25  DtEvalAnd();
26 
28  virtual ~DtEvalAnd() override;
29 
31  DtEvalAnd(const DtEvalAnd& orig);
32 
34  DtEvalAnd& operator=(const DtEvalAnd& orig);
35 
37  virtual DtEvaluator* clone() override;
38 
50  virtual bool evaluate(DtSimCondExpr* condExpr, DtLocalObject* owner, const DtSimulationServices* simManager,
51  const DtPlan* = 0) const override;
52 
55  virtual const DtUUID& simulationObject(const DtSimCondExpr* condExpr) const override;
56 
57 public:
58 
60  static DtEvaluator * creator();
61 
62 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtEvaluator & operator=(const DtEvaluator &orig)
assignment operator
class DtEvalAnd:
Definition: evalAnd.h:20
virtual const DtUUID & simulationObject(const DtSimCondExpr *condExpr) const
If there is a simulation object that satisfied the evaluation of this condition then it is returned h...
virtual DtEvaluator * clone()=0
clone operator
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
class DtEvaluator:
Definition: evaluator.h:35
class DtPlan:
Definition: plan.h:92
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
virtual bool evaluate(DtSimCondExpr *condExpr, DtLocalObject *entity, const DtSimulationServices *simManager, const DtPlan *plan=0) const =0
Evaluate the conditional expression for the entity, and return the current result. The plan is supplied for variable substituion.
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)