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::TaskCommand ( )
TaskCommand::TaskCommand ( const std::string &  caption)
TaskCommand::~TaskCommand ( )

Member Function Documentation

const std::string& cnoid::TaskCommand::caption ( ) const
inline
const std::string& cnoid::TaskCommand::description ( ) const
inline
TaskFunc cnoid::TaskCommand::function ( ) const
inline
bool TaskCommand::isChecked ( ) const
bool cnoid::TaskCommand::isCommandLinkAutomatic ( ) const
inline
bool cnoid::TaskCommand::isDefault ( ) const
inline
int cnoid::TaskCommand::level ( ) const
inline
TaskCommand* cnoid::TaskCommand::linkToNextCommand ( )
inline
TaskCommand* cnoid::TaskCommand::linkToNextPhase ( )
inline
int TaskCommand::nextCommandIndex ( int  currentCommandIndex) const
int TaskCommand::nextPhaseIndex ( int  currentPhaseIndex) const
TaskCommand* cnoid::TaskCommand::setCaption ( const std::string &  caption)
inline
TaskCommand * TaskCommand::setCheckable ( bool  on = true)
TaskCommand * TaskCommand::setChecked ( bool  on)
TaskCommand * TaskCommand::setCommandLink ( int  commandIndex)
TaskCommand* cnoid::TaskCommand::setCommandLinkAutomatic ( bool  on = true)
inline
TaskCommand * TaskCommand::setCommandLinkStep ( int  commandIndexStep)
TaskCommand* cnoid::TaskCommand::setDefault ( bool  on = true)
inline
TaskCommand* cnoid::TaskCommand::setDescription ( const std::string &  description)
inline
TaskCommand* cnoid::TaskCommand::setFunction ( TaskFunc  func)
inline
TaskCommand* cnoid::TaskCommand::setLevel ( int  level)
inline
TaskCommand * TaskCommand::setPhaseLink ( int  phaseIndex)
TaskCommand * TaskCommand::setPhaseLinkStep ( int  phaseIndexStep)
TaskCommand * TaskCommand::setToggleState ( TaskToggleState *  state)
TaskToggleState * TaskCommand::toggleState ( )

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