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

class DtIfPlanStatement: More...

Inheritance diagram for DtIfPlanStatement:
Inheritance graph
[legend]

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 DtUUIDplanName () const
 Set/get the uuid of the plan.
virtual void setPlanName (const DtUUID &)
 Was: setName.
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)
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
virtual bool update (const DtSimInterfaceContent *data)
virtual charnetRep ()
virtual void printContentType (DtString &str)
virtual void setUseSessionId (bool yesNo)
virtual bool useSessionId () const

Static Public Member Functions

static DtSimInterfaceContentcreator ()
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContentcreateInterfaceContent (int type)
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
static void setFactory (DtInterfaceContentFactory *factory)
static DtInterfaceContentFactoryfactory ()
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)

Protected Attributes

DtUUID myPlanName
bool myIsGlobal
int myStatementId
DtSimStatementmyStatement
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
bool myUseSessionId

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
virtual charcreateNetworkBuffer ()
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn

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

DtIfPlanStatement::DtIfPlanStatement ( )

default constructor

virtual DtIfPlanStatement::~DtIfPlanStatement ( )
virtual

destructor

DtIfPlanStatement::DtIfPlanStatement ( const DtIfPlanStatement orig)

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 DtUUID& DtIfPlanStatement::planName ( ) const
virtual

Set/get the uuid of the plan.

Was: name

virtual void DtIfPlanStatement::setPlanName ( const DtUUID )
virtual

Was: setName.

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
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.

static DtSimInterfaceContent* DtIfPlanStatement::creator ( )
static

Member Data Documentation

DtUUID DtIfPlanStatement::myPlanName
protected
bool DtIfPlanStatement::myIsGlobal
protected
int DtIfPlanStatement::myStatementId
protected
DtSimStatement* DtIfPlanStatement::myStatement
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)