VR-Forces 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 
20 {
21 public:
22  typedef std::shared_ptr<DtPlanBlockBuilder> SharedPlanBlockBuilder;
23 
24 public:
28 
30  virtual ~DtPlanBlockBuilder();
31 
33  virtual DtSimBlock* planBlock();
34 
36  virtual void addStatement(const DtSimTask&, bool addToStart = false);
37  virtual void addStatement(const DtSetDataRequest&, bool addToStart = false);
38  virtual void addStatement(const DtSimCommand&, bool addToStart = false);
39 
41  virtual void addSetDataCommand(const DtSetDataRequest&, const DtUUID&, bool addToStart = false);
42 
44  virtual void addTaskCommand(const DtSimTask&, const DtUUID&, bool addToStart = false);
45 
48  virtual void addWaitUntilCondition(const DtSimCondExpr&, bool addToStart = false);
49 
51  virtual void addIfCondition(const DtSimCondExpr&, SharedPlanBlockBuilder& thenBlockBuilder, SharedPlanBlockBuilder& elseBlockBuilder,
52  bool addToStart = false);
53 
55  virtual SharedPlanBlockBuilder addWhileCondition(const DtSimCondExpr&, bool addToStart = false);
56 
57 private:
59  DtPlanBlockBuilder& operator=(const DtPlanBlockBuilder&);
60 
61 protected:
63 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
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
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:19
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:62
std::shared_ptr< DtPlanBlockBuilder > SharedPlanBlockBuilder
Definition: planBlockBuilder.h:22
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28

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)