VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions
DtPlanBlockBuilder Class Reference

class DtPlanBlockBuilder: More...

Inheritance diagram for DtPlanBlockBuilder:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr
< DtPlanBlockBuilder
SharedPlanBlockBuilder
 

Public Member Functions

 DtPlanBlockBuilder ()
 CTOR. More...
 
 DtPlanBlockBuilder (DtSimBlock *)
 
virtual ~DtPlanBlockBuilder ()
 DTOR. More...
 
virtual DtSimBlockplanBlock ()
 Access to the block that this class represents. More...
 
virtual void addStatement (const DtSimTask &, bool addToStart=false)
 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. More...
 
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)
 Adds a new set data command to issue to the given object. More...
 
virtual void addTaskCommand (const DtSimTask &, const DtUUID &, bool addToStart=false)
 Adds a new task to issue to the given object. More...
 
virtual void addWaitUntilCondition (const DtSimCondExpr &, bool addToStart=false)
 Creates a wait until conditional statement. More...
 
virtual void addIfCondition (const DtSimCondExpr &, SharedPlanBlockBuilder &thenBlockBuilder, SharedPlanBlockBuilder &elseBlockBuilder, bool addToStart=false)
 Because an if conditional has 2 blocks (then and else) need to have two shared block pointers. More...
 
virtual SharedPlanBlockBuilder addWhileCondition (const DtSimCondExpr &, bool addToStart=false)
 Adds a while condition to the plan and returns a block builder for the block. More...
 

Protected Attributes

DtSimBlockmySimBlock
 

Private Member Functions

 DtPlanBlockBuilder (const DtPlanBlockBuilder &)
 
DtPlanBlockBuilderoperator= (const DtPlanBlockBuilder &)
 

Detailed Description

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.

Member Typedef Documentation

Constructor & Destructor Documentation

DtPlanBlockBuilder::DtPlanBlockBuilder ( )

CTOR.

DtPlanBlockBuilder::DtPlanBlockBuilder ( DtSimBlock )
virtual DtPlanBlockBuilder::~DtPlanBlockBuilder ( )
virtual

DTOR.

DtPlanBlockBuilder::DtPlanBlockBuilder ( const DtPlanBlockBuilder )
private

Member Function Documentation

virtual DtSimBlock* DtPlanBlockBuilder::planBlock ( )
virtual

Access to the block that this class represents.

virtual void DtPlanBlockBuilder::addStatement ( const DtSimTask ,
bool  addToStart = false 
)
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 void DtPlanBlockBuilder::addStatement ( const DtSetDataRequest ,
bool  addToStart = false 
)
virtual
virtual void DtPlanBlockBuilder::addStatement ( const DtSimCommand ,
bool  addToStart = false 
)
virtual
virtual void DtPlanBlockBuilder::addSetDataCommand ( const DtSetDataRequest ,
const DtUUID ,
bool  addToStart = false 
)
virtual

Adds a new set data command to issue to the given object.

virtual void DtPlanBlockBuilder::addTaskCommand ( const DtSimTask ,
const DtUUID ,
bool  addToStart = false 
)
virtual

Adds a new task to issue to the given object.

virtual void DtPlanBlockBuilder::addWaitUntilCondition ( const DtSimCondExpr ,
bool  addToStart = false 
)
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 void DtPlanBlockBuilder::addIfCondition ( const DtSimCondExpr ,
SharedPlanBlockBuilder thenBlockBuilder,
SharedPlanBlockBuilder elseBlockBuilder,
bool  addToStart = false 
)
virtual

Because an if conditional has 2 blocks (then and else) need to have two shared block pointers.

virtual SharedPlanBlockBuilder DtPlanBlockBuilder::addWhileCondition ( const DtSimCondExpr ,
bool  addToStart = false 
)
virtual

Adds a while condition to the plan and returns a block builder for the block.

DtPlanBlockBuilder& DtPlanBlockBuilder::operator= ( const DtPlanBlockBuilder )
private

Member Data Documentation

DtSimBlock* DtPlanBlockBuilder::mySimBlock
protected

The documentation for this class was generated from the following file:

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)