VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwCondExpr.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 class DtRwCondExp;
12 
13 #include "vrfplan/vrfplanDefines.h"
15 #include "vrfutil/simCondExpr.h"
16 #include "vrfutil/rwUUID.h"
17 
19 
27 {
28 public:
29 
31  DtRwCondExpr(const DtString& name,
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
35  DtRwCondExpr(const DtString& name,
36  DtSimCondExpr* condExpr,
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
40  DtRwCondExpr(const DtString& name,
41  const DtRwCondExpr& orig,
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
45  virtual ~DtRwCondExpr();
46 
48  DtRwCondExpr& operator=(const DtRwCondExpr& orig);
49 
51  virtual DtRwCondExpr* clone(const DtString& name,
52  DtReaderWriterRegistry* parentRegistry = NULL);
53 
56  virtual bool evaluate(DtLocalObject* entity,
57  const DtSimulationServices* simManager, const DtPlan* = 0) const;
58 
59  virtual DtSimCondExpr* condExpr() const;
60  virtual void setCondExpr(const DtSimCondExpr* arg);
61 
62  virtual void putData(std::string& fp, int indentLevel = 0);
63 
64  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
65  const DtVariableBindingsList& variableBindings);
66 
68  virtual const DtUUID& simulationObject() const;
69 
70 protected:
71 
73  DtRwCondExpr();
74 
76  DtRwCondExpr(const DtRwCondExpr& orig);
77 
79 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Deriving class overrides these to get/put class specific data.
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
class DtPlan:
Definition: plan.h:92
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
DtSimCondExpr * myCondExpr
Definition: rwCondExpr.h:78
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
class DtRwCondExpr:
Definition: rwCondExpr.h:26
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)