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

#include <MprStatementPanel.h>

Inheritance diagram for cnoid::MprStatementPanel:
cnoid::MprPositionStatementPanel cnoid::MprTagTraceStatementPanel

Public Member Functions

 MprStatementPanel ()
 
 ~MprStatementPanel ()
 
void activate (MprProgramItemBase *programItem, MprStatement *statement, std::function< void(const std::string &caption)> setCaption)
 
void deactivate ()
 
virtual void setEditingEnabled (bool on)
 
virtual void onActivated ()=0
 
virtual void onStatementUpdated ()
 
virtual void onAdditionalStatementsUpdated (const std::vector< MprStatementPtr > &additionalStatements)
 
virtual void onDeactivated ()
 

Protected Member Functions

MprProgramItemBasecurrentProgramItem ()
 
template<class StatementType >
StatementType * currentStatement ()
 
MprStatementcurrentStatement ()
 
void setCaption (const std::string &caption)
 

Constructor & Destructor Documentation

◆ MprStatementPanel()

MprStatementPanel::MprStatementPanel ( )

◆ ~MprStatementPanel()

MprStatementPanel::~MprStatementPanel ( )

Member Function Documentation

◆ activate()

void MprStatementPanel::activate ( MprProgramItemBase programItem,
MprStatement statement,
std::function< void(const std::string &caption)>  setCaption 
)

◆ currentProgramItem()

MprProgramItemBase * MprStatementPanel::currentProgramItem ( )
protected

◆ currentStatement() [1/2]

template<class StatementType >
StatementType* cnoid::MprStatementPanel::currentStatement ( )
inlineprotected

◆ currentStatement() [2/2]

MprStatement* cnoid::MprStatementPanel::currentStatement ( )
inlineprotected

◆ deactivate()

void MprStatementPanel::deactivate ( )

◆ onActivated()

virtual void cnoid::MprStatementPanel::onActivated ( )
pure virtual

◆ onAdditionalStatementsUpdated()

void MprStatementPanel::onAdditionalStatementsUpdated ( const std::vector< MprStatementPtr > &  additionalStatements)
virtual

◆ onDeactivated()

void MprStatementPanel::onDeactivated ( )
virtual

◆ onStatementUpdated()

void MprStatementPanel::onStatementUpdated ( )
virtual

◆ setCaption()

void MprStatementPanel::setCaption ( const std::string &  caption)
protected

◆ setEditingEnabled()

void MprStatementPanel::setEditingEnabled ( bool  on)
virtual

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