VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
evalOr.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vrfutil/evaluator.h"
13 
19 {
20 public:
21 
23  DtEvalOr();
24 
26  virtual ~DtEvalOr();
27 
29  DtEvalOr(const DtEvalOr& orig);
30 
32  DtEvalOr& operator=(const DtEvalOr& orig);
33 
35  virtual DtEvaluator* clone();
36 
46  virtual bool evaluate(DtSimCondExpr* condExpr,
47  const DtUUID& object, DtSimManager* simManager, const DtPlan*) const;
48 
51  virtual const DtUUID& simulationObject(const DtSimCondExpr* condExpr) const;
52 
53 public:
54 
56  static DtEvaluator * creator();
57 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
class DtEvalOr:
Definition: evalOr.h:18
DtEvaluator & operator=(const DtEvaluator &orig)
assignment operator
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 bool evaluate(DtSimCondExpr *condExpr, const DtUUID &entity, DtSimManager *simManager, const DtPlan *plan=0) const =0
Evaluate the conditional expression for the entity in the context of the given simManager, and return the current result.
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:31
class DtPlan:
Definition: plan.h:90
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:49
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)