Choreonoid  1.5
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 ()
 
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

TaskPhase::TaskPhase ( const std::string &  caption)
TaskPhase::TaskPhase ( const TaskPhase org,
bool  doDeepCopy = true 
)
TaskPhase::~TaskPhase ( )

Member Function Documentation

TaskCommand * TaskPhase::addCommand ( )
TaskCommand * TaskPhase::addCommand ( const std::string &  caption)
TaskCommand * TaskPhase::addToggleCommand ( )
TaskCommand * TaskPhase::addToggleCommand ( const std::string &  caption)
const std::string& cnoid::TaskPhase::caption ( ) const
inline
TaskPhase * TaskPhase::clone ( bool  doDeepCopy = true)
virtual
TaskCommand * TaskPhase::command ( int  index) const
TaskPhaseProxyPtr TaskPhase::commandLevel ( int  level)
bool cnoid::TaskPhase::isSkipped ( ) const
inline
TaskCommand* cnoid::TaskPhase::lastCommand ( ) const
inline
int cnoid::TaskPhase::lastCommandIndex ( ) const
inline
int TaskPhase::maxCommandLevel ( ) const
int cnoid::TaskPhase::numCommands ( ) const
inline
TaskFunc cnoid::TaskPhase::preCommand ( ) const
inline
void TaskPhase::setCaption ( const std::string &  str)
void TaskPhase::setPreCommand ( TaskFunc  func)
void cnoid::TaskPhase::setSkipped ( bool  on)
inline

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