Choreonoid  1.8
Public Member Functions | Protected Member Functions | Friends | List of all members
cnoid::MprStatement Class Referenceabstract

#include <MprStatement.h>

Inheritance diagram for cnoid::MprStatement:
cnoid::ClonableReferenced cnoid::Referenced cnoid::MprAssignStatement cnoid::MprCallStatement cnoid::MprCommentStatement cnoid::MprDelayStatement cnoid::MprEmptyStatement cnoid::MprPositionStatement cnoid::MprSignalStatement cnoid::MprStructuredStatement cnoid::MprWaitStatement

Public Member Functions

int classId () const
 
MprStatementclone () const
 
MprStatementclone (CloneMap &cloneMap) const
 
std::string label () const
 
virtual std::string label (int index) const =0
 
MprProgramholderProgram () const
 
MprStructuredStatementholderStatement () const
 
MprProgramtopLevelProgram () const
 
virtual MprProgramgetLowerLevelProgram ()
 
void notifyUpdate ()
 
virtual bool read (MprProgram *program, const Mapping &archive)=0
 
virtual bool write (Mapping &archive) const =0
 
- Public Member Functions inherited from cnoid::ClonableReferenced
virtual ReferenceddoClone (CloneMap *cloneMap) const =0
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

 MprStatement ()
 
 MprStatement (const MprStatement &org)
 
 ~MprStatement ()
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Friends

class MprProgram
 

Constructor & Destructor Documentation

◆ MprStatement() [1/2]

MprStatement::MprStatement ( )
protected

◆ MprStatement() [2/2]

MprStatement::MprStatement ( const MprStatement org)
protected

◆ ~MprStatement()

MprStatement::~MprStatement ( )
protected

Member Function Documentation

◆ classId()

int cnoid::MprStatement::classId ( ) const
inline

◆ clone() [1/2]

MprStatement* cnoid::MprStatement::clone ( ) const
inline

◆ clone() [2/2]

MprStatement* cnoid::MprStatement::clone ( CloneMap cloneMap) const
inline

◆ getLowerLevelProgram()

MprProgram * MprStatement::getLowerLevelProgram ( )
virtual

Reimplemented in cnoid::MprStructuredStatement.

◆ holderProgram()

MprProgram * MprStatement::holderProgram ( ) const

◆ holderStatement()

MprStructuredStatement * MprStatement::holderStatement ( ) const

◆ label() [1/2]

std::string MprStatement::label ( ) const

◆ label() [2/2]

virtual std::string cnoid::MprStatement::label ( int  index) const
pure virtual

◆ notifyUpdate()

void MprStatement::notifyUpdate ( )

◆ read()

virtual bool cnoid::MprStatement::read ( MprProgram program,
const Mapping archive 
)
pure virtual

◆ topLevelProgram()

MprProgram * MprStatement::topLevelProgram ( ) const

◆ write()

virtual bool cnoid::MprStatement::write ( Mapping archive) const
pure virtual

Friends And Related Function Documentation

◆ MprProgram

friend class MprProgram
friend

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