VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfPlanStatement Class Reference

class DtIfPlanStatement: More...

Inheritance diagram for DtIfPlanStatement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIfPlanStatement ()
 default constructor
virtual ~DtIfPlanStatement ()
 destructor
 DtIfPlanStatement (const DtIfPlanStatement &orig)
 copy constructor
DtIfPlanStatementoperator= (const DtIfPlanStatement &orig)
 assignment operator
virtual int type () const
virtual DtSimInterfaceContentclone () const
virtual const DtStringname () const
 Set/get the name of the plan.
virtual void setName (const DtString &name)
virtual int statementId () const
 Set/get the ID of the statement requested.
virtual void setStatementId (int id)
virtual DtSimStatementstatement () const
 Set/get the plan statement associated with the above name and statement ID.
virtual void setStatement (DtSimStatement *statement)
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
virtual void printDataToString (DtString &str)
virtual bool isGlobal () const
 Indicates whether the referenced plan is a global plan or an entity/aggregate plan.
virtual void setIsGlobal (bool yesNo)
 Indicates whether the referenced plan is a global plan or an entity/aggregate plan.

Static Public Member Functions

static DtSimInterfaceContentcreator ()

Protected Attributes

DtString myName
bool myIsGlobal
int myStatementId
DtSimStatementmyStatement

Detailed Description

class DtIfPlanStatement:

Instances of DtIfPlanStatement are interface messages used to convey the contents of a particular plan statement, for a given plan (specified by name), and a given statement ID. The addressed recipient of this message takes over the DtSimStatement pointer and is responsible for deleting it.

Content-Type: DtPlanStatementMessageType

Parameters: name - The name of the selected plan.

statementId - The integer ID of the statement requested.

statement - The plan statement (a DtSimStatement) associated with the requested name and statement ID.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

DtIfPlanStatement& DtIfPlanStatement::operator= ( const DtIfPlanStatement orig)

assignment operator

virtual int DtIfPlanStatement::type ( ) const [virtual]

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfPlanStatement::clone ( ) const [virtual]

Implements DtSimInterfaceContent.

virtual const DtString& DtIfPlanStatement::name ( ) const [virtual]

Set/get the name of the plan.

virtual void DtIfPlanStatement::setName ( const DtString name) [virtual]
virtual int DtIfPlanStatement::statementId ( ) const [virtual]

Set/get the ID of the statement requested.

virtual void DtIfPlanStatement::setStatementId ( int  id) [virtual]
virtual DtSimStatement* DtIfPlanStatement::statement ( ) const [virtual]

Set/get the plan statement associated with the above name and statement ID.

virtual void DtIfPlanStatement::setStatement ( DtSimStatement statement) [virtual]
virtual bool DtIfPlanStatement::isGlobal ( ) const [virtual]

Indicates whether the referenced plan is a global plan or an entity/aggregate plan.

virtual void DtIfPlanStatement::setIsGlobal ( bool  yesNo) [virtual]

Indicates whether the referenced plan is a global plan or an entity/aggregate plan.

virtual int DtIfPlanStatement::netRepSize ( ) const [virtual]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfPlanStatement::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfPlanStatement::setToNet ( ) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual void DtIfPlanStatement::printDataToString ( DtString str) [virtual]

Reimplemented from DtSimInterfaceContent.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)