Choreonoid  1.5
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
 
TaskCommand * setCaption (const std::string &caption)
 
const std::string & description () const
 
TaskCommand * setDescription (const std::string &description)
 
TaskFunc function () const
 
TaskCommand * setFunction (TaskFunc func)
 
TaskCommand * setDefault (bool on=true)
 
bool isDefault () const
 
TaskCommand * setCheckable (bool on=true)
 
TaskCommand * setToggleState (TaskToggleState *state)
 
TaskToggleState * toggleState ()
 
TaskCommand * setChecked (bool on)
 
bool isChecked () const
 
int nextPhaseIndex (int currentPhaseIndex) const
 
TaskCommand * setPhaseLink (int phaseIndex)
 
TaskCommand * setPhaseLinkStep (int phaseIndexStep)
 
TaskCommand * linkToNextPhase ()
 
int nextCommandIndex (int currentCommandIndex) const
 
TaskCommand * setCommandLink (int commandIndex)
 
TaskCommand * setCommandLinkStep (int commandIndexStep)
 
TaskCommand * linkToNextCommand ()
 
bool isCommandLinkAutomatic () const
 
TaskCommand * setCommandLinkAutomatic (bool on=true)
 
TaskCommand * setLevel (int level)
 
int level () const
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 
void addRef ()
 
void releaseRef ()
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &org)
 
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

§ 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: