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