VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
evalResourceOp.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/evaluator.h"
12 #include <vlutil/vlString.h>
13 
20 
22 
25 {
26 public:
27 
30 
32  virtual ~DtEvalResourceOp();
33 
36 
39 
41  virtual DtEvaluator* clone();
42 
50  virtual bool evaluate(DtSimCondExpr* condExpr,
51  const DtUUID& object, DtSimManager* simManager, const DtPlan* = 0) const;
52 
53 public:
54 
56  static DtEvaluator * creator();
57 
58 protected:
59 
62  virtual bool getResourceValue(const DtCeResourceOperator& ceResourceOp,
63  const DtUUID& uuid, DtSimManager* simManager,
64  DtReal& result) const;
65 
66 protected:
69 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtEvaluator & operator=(const DtEvaluator &orig)
assignment operator
Definition: evalResourceOp.h:24
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
bool myIsStatePropertyResource
Definition: evalResourceOp.h:67
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
class DtCeResourceOperator:
Definition: ceResourceOperator.h:53
bool myIsUserDefinedResource
Definition: evalResourceOp.h:68

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)