VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
planBlockBuilder.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfplan/planBlock.h"
10 
11 #include <boost/shared_ptr.hpp>
12 
21 {
22 public:
23  typedef boost::shared_ptr<DtPlanBlockBuilder> SharedPlanBlockBuilder;
24 
25 public:
29 
31  virtual ~DtPlanBlockBuilder();
32 
34  virtual DtSimBlock* planBlock();
35 
37  virtual void addStatement(const DtSimTask&, bool addToStart = false);
38  virtual void addStatement(const DtSetDataRequest&, bool addToStart = false);
39  virtual void addStatement(const DtSimCommand&, bool addToStart = false);
40 
42  virtual void addSetDataCommand(const DtSetDataRequest&, const DtUUID&, bool addToStart = false);
43 
45  virtual void addTaskCommand(const DtSimTask&, const DtUUID&, bool addToStart = false);
46 
49  virtual void addWaitUntilCondition(const DtSimCondExpr&, bool addToStart = false);
50 
52  virtual void addIfCondition(const DtSimCondExpr&, SharedPlanBlockBuilder& thenBlockBuilder, SharedPlanBlockBuilder& elseBlockBuilder,
53  bool addToStart = false);
54 
56  virtual SharedPlanBlockBuilder addWhileCondition(const DtSimCondExpr&, bool addToStart = false);
57 
58 private:
60  DtPlanBlockBuilder& operator=(const DtPlanBlockBuilder&);
61 
62 protected:
64 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
class DtSimBlock:
Definition: simBlock.h:27
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
boost::shared_ptr< DtPlanBlockBuilder > SharedPlanBlockBuilder
Definition: planBlockBuilder.h:23
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
class DtPlanBlockBuilder:
Definition: planBlockBuilder.h:20
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
DtSimBlock * mySimBlock
Definition: planBlockBuilder.h:63
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)