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

#include <Task.h>

Inheritance diagram for cnoid::TaskPhase:
cnoid::Referenced

Public Member Functions

 TaskPhase (const std::string &caption)
 
 TaskPhase (const TaskPhase &org, bool doDeepCopy=true)
 
 ~TaskPhase ()
 
virtual TaskPhaseclone (bool doDeepCopy=true)
 
const std::string & caption () const
 
void setCaption (const std::string &str)
 
bool isSkipped () const
 
void setSkipped (bool on)
 
void setPreCommand (TaskFunc func)
 
TaskFunc preCommand () const
 
TaskCommandaddCommand ()
 
TaskCommandaddCommand (const std::string &caption)
 
TaskCommandaddToggleCommand ()
 
TaskCommandaddToggleCommand (const std::string &caption)
 
int numCommands () const
 
TaskCommandcommand (int index) const
 
int lastCommandIndex () const
 
TaskCommandlastCommand () const
 
TaskPhaseProxyPtr commandLevel (int level)
 
int maxCommandLevel () const
 
- 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

◆ TaskPhase() [1/2]

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

◆ TaskPhase() [2/2]

TaskPhase::TaskPhase ( const TaskPhase org,
bool  doDeepCopy = true 
)

◆ ~TaskPhase()

TaskPhase::~TaskPhase ( )

Member Function Documentation

◆ addCommand() [1/2]

TaskCommand * TaskPhase::addCommand ( )

◆ addCommand() [2/2]

TaskCommand * TaskPhase::addCommand ( const std::string &  caption)

◆ addToggleCommand() [1/2]

TaskCommand * TaskPhase::addToggleCommand ( )

◆ addToggleCommand() [2/2]

TaskCommand * TaskPhase::addToggleCommand ( const std::string &  caption)

◆ caption()

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

◆ clone()

TaskPhase * TaskPhase::clone ( bool  doDeepCopy = true)
virtual

◆ command()

TaskCommand * TaskPhase::command ( int  index) const

◆ commandLevel()

TaskPhaseProxyPtr TaskPhase::commandLevel ( int  level)

◆ isSkipped()

bool cnoid::TaskPhase::isSkipped ( ) const
inline

◆ lastCommand()

TaskCommand* cnoid::TaskPhase::lastCommand ( ) const
inline

◆ lastCommandIndex()

int cnoid::TaskPhase::lastCommandIndex ( ) const
inline

◆ maxCommandLevel()

int TaskPhase::maxCommandLevel ( ) const

◆ numCommands()

int cnoid::TaskPhase::numCommands ( ) const
inline

◆ preCommand()

TaskFunc cnoid::TaskPhase::preCommand ( ) const
inline

◆ setCaption()

void TaskPhase::setCaption ( const std::string &  str)

◆ setPreCommand()

void TaskPhase::setPreCommand ( TaskFunc  func)

◆ setSkipped()

void cnoid::TaskPhase::setSkipped ( bool  on)
inline

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