Choreonoid  1.8
Public Member Functions | List of all members
cnoid::TaskCommand Class Reference

#include <Task.h>

Inheritance diagram for cnoid::TaskCommand:
cnoid::Referenced

Public Member Functions

 TaskCommand ()
 
 TaskCommand (const std::string &caption)
 
 ~TaskCommand ()
 
const std::string & caption () const
 
TaskCommandsetCaption (const std::string &caption)
 
const std::string & description () const
 
TaskCommandsetDescription (const std::string &description)
 
TaskFunc function () const
 
TaskCommandsetFunction (TaskFunc func)
 
TaskCommandsetDefault (bool on=true)
 
bool isDefault () const
 
TaskCommandsetCheckable (bool on=true)
 
TaskCommandsetToggleState (TaskToggleState *state)
 
TaskToggleStatetoggleState ()
 
TaskCommandsetChecked (bool on)
 
bool isChecked () const
 
int nextPhaseIndex (int currentPhaseIndex) const
 
TaskCommandsetPhaseLink (int phaseIndex)
 
TaskCommandsetPhaseLinkStep (int phaseIndexStep)
 
TaskCommandlinkToNextPhase ()
 
int nextCommandIndex (int currentCommandIndex) const
 
TaskCommandsetCommandLink (int commandIndex)
 
TaskCommandsetCommandLinkStep (int commandIndexStep)
 
TaskCommandlinkToNextCommand ()
 
bool isCommandLinkAutomatic () const
 
TaskCommandsetCommandLinkAutomatic (bool on=true)
 
TaskCommandsetLevel (int level)
 
int level () const
 
TaskCommandlinkToNextTask ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TaskCommand() [1/2]

TaskCommand::TaskCommand ( )

◆ TaskCommand() [2/2]

TaskCommand::TaskCommand ( const std::string &  caption)

◆ ~TaskCommand()

TaskCommand::~TaskCommand ( )

Member Function Documentation

◆ caption()

const std::string& cnoid::TaskCommand::caption ( ) const
inline

◆ description()

const std::string& cnoid::TaskCommand::description ( ) const
inline

◆ function()

TaskFunc cnoid::TaskCommand::function ( ) const
inline

◆ isChecked()

bool TaskCommand::isChecked ( ) const

◆ isCommandLinkAutomatic()

bool cnoid::TaskCommand::isCommandLinkAutomatic ( ) const
inline

◆ isDefault()

bool cnoid::TaskCommand::isDefault ( ) const
inline

◆ level()

int cnoid::TaskCommand::level ( ) const
inline

◆ linkToNextCommand()

TaskCommand* cnoid::TaskCommand::linkToNextCommand ( )
inline

◆ linkToNextPhase()

TaskCommand* cnoid::TaskCommand::linkToNextPhase ( )
inline

◆ linkToNextTask()

TaskCommand * TaskCommand::linkToNextTask ( )

◆ nextCommandIndex()

int TaskCommand::nextCommandIndex ( int  currentCommandIndex) const

◆ nextPhaseIndex()

int TaskCommand::nextPhaseIndex ( int  currentPhaseIndex) const

◆ setCaption()

TaskCommand* cnoid::TaskCommand::setCaption ( const std::string &  caption)
inline

◆ setCheckable()

TaskCommand * TaskCommand::setCheckable ( bool  on = true)

◆ setChecked()

TaskCommand * TaskCommand::setChecked ( bool  on)

◆ setCommandLink()

TaskCommand * TaskCommand::setCommandLink ( int  commandIndex)

◆ setCommandLinkAutomatic()

TaskCommand* cnoid::TaskCommand::setCommandLinkAutomatic ( bool  on = true)
inline

◆ setCommandLinkStep()

TaskCommand * TaskCommand::setCommandLinkStep ( int  commandIndexStep)

◆ setDefault()

TaskCommand* cnoid::TaskCommand::setDefault ( bool  on = true)
inline

◆ setDescription()

TaskCommand* cnoid::TaskCommand::setDescription ( const std::string &  description)
inline

◆ setFunction()

TaskCommand* cnoid::TaskCommand::setFunction ( TaskFunc  func)
inline

◆ setLevel()

TaskCommand* cnoid::TaskCommand::setLevel ( int  level)
inline

◆ setPhaseLink()

TaskCommand * TaskCommand::setPhaseLink ( int  phaseIndex)

◆ setPhaseLinkStep()

TaskCommand * TaskCommand::setPhaseLinkStep ( int  phaseIndexStep)

◆ setToggleState()

TaskCommand * TaskCommand::setToggleState ( TaskToggleState state)

◆ toggleState()

TaskToggleState * TaskCommand::toggleState ( )

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