![]() |
VR-Forces Developer's Guide
|
class DtPlanBlockBuilder:
The DtPlanBlockBuilder class should not be created directly. Create the DtPlanBuilder class to create a plan. When adding blocks to a plan this class is returned and you can use this to continue adding plans to that conditional block.

Public Types | |
| typedef boost::shared_ptr < DtPlanBlockBuilder > | SharedPlanBlockBuilder |
Public Member Functions | |
| DtPlanBlockBuilder () | |
| DtPlanBlockBuilder (DtSimBlock *) | |
| virtual | ~DtPlanBlockBuilder () |
| virtual DtSimBlock * | planBlock () |
| virtual void | addStatement (const DtSimTask &, bool addToStart=false) |
| virtual void | addStatement (const DtSetDataRequest &, bool addToStart=false) |
| virtual void | addStatement (const DtSimCommand &, bool addToStart=false) |
| virtual void | addSetDataCommand (const DtSetDataRequest &, const DtUUID &, bool addToStart=false) |
| virtual void | addTaskCommand (const DtSimTask &, const DtUUID &, bool addToStart=false) |
| virtual void | addWaitUntilCondition (const DtSimCondExpr &, bool addToStart=false) |
| virtual void | addIfCondition (const DtSimCondExpr &, SharedPlanBlockBuilder &thenBlockBuilder, SharedPlanBlockBuilder &elseBlockBuilder, bool addToStart=false) |
| virtual SharedPlanBlockBuilder | addWhileCondition (const DtSimCondExpr &, bool addToStart=false) |
Protected Attributes | |
| DtSimBlock * | mySimBlock |
Private Member Functions | |
| DtPlanBlockBuilder (const DtPlanBlockBuilder &) | |
| DtPlanBlockBuilder & | operator= (const DtPlanBlockBuilder &) |
| typedef boost::shared_ptr<DtPlanBlockBuilder> DtPlanBlockBuilder::SharedPlanBlockBuilder |
| DtPlanBlockBuilder::DtPlanBlockBuilder | ( | ) |
CTOR.
| DtPlanBlockBuilder::DtPlanBlockBuilder | ( | DtSimBlock * | ) |
|
virtual |
DTOR.
|
private |
|
virtual |
Access to the block that this class represents.
|
virtual |
Add a statement to the current block. The statement is added to the start if the flag is true, else the end of the block.
|
virtual |
|
virtual |
|
virtual |
Adds a new set data command to issue to the given object.
|
virtual |
Adds a new task to issue to the given object.
|
virtual |
Creates a wait until conditional statement. No plan block builder is returned as the wait until does not execute any statements on completion.
|
virtual |
Because an if conditional has 2 blocks (then and else) need to have two shared block pointers.
|
virtual |
Adds a while condition to the plan and returns a block builder for the block.
|
private |
|
protected |