Choreonoid
1.8
|
#include <TaskView.h>
Public Member Functions | |
TaskView () | |
~TaskView () | |
virtual void | activate (bool on=true) |
virtual bool | isActive () |
virtual void | addTask (Task *task) |
virtual bool | updateTask (Task *task) |
virtual bool | removeTask (Task *task) |
virtual SignalProxy< void(Task *task)> | sigTaskAdded () |
virtual SignalProxy< void(Task *task)> | sigTaskRemoved () |
virtual void | clearTasks () |
virtual int | numTasks () const |
virtual Task * | task (int index) |
virtual int | currentTaskIndex () const |
virtual bool | setCurrentTask (int taskIndex) |
virtual SignalProxy< void()> | sigCurrentTaskChanged () |
virtual int | currentPhaseIndex () const |
virtual void | setCurrentPhase (int phaseIndex) |
virtual SignalProxy< void()> | sigCurrentPhaseChanged () |
virtual int | currentCommandIndex () const |
virtual void | executeCommand (int commandIndex) |
virtual SignalProxy< void()> | sigCurrentCommandChanged () |
virtual bool | isBusy () const |
virtual SignalProxy< void()> | sigBusyStateChanged () |
virtual void | cancelCurrentCommand () |
virtual SignalProxy< void()> | sigCurrentCommandCanceled () |
virtual bool | isAutoMode () const |
virtual void | setAutoMode (bool on) |
virtual SignalProxy< void(bool isAutoMode)> | sigAutoModeToggled () |
virtual void | serializeTasks (const std::vector< std::string > &tasks) |
void | setNoExecutionMode (bool on) |
bool | isNoExecutionMode () const |
void | setCurrentCommand (int commandIndex, bool doExecution) |
void | setBusyState (bool on) |
void | executeMenuItem (int index) |
void | checkMenuItem (int index, bool on) |
std::vector< bool > | menuItemCheckStates () const |
SignalProxy< void()> | sigMenuRequest () |
void | showMenu (std::vector< bool > checkStates) |
SignalProxy< void(int index)> | sigMenuItemTriggered () |
SignalProxy< void(int index, bool on)> | sigMenuItemToggled () |
Public Member Functions inherited from cnoid::View | |
View () | |
virtual | ~View () |
ViewClass * | viewClass () const |
const std::string & | name () const |
virtual void | setName (const std::string &name) |
void | setTitleFormat (const std::string &title) |
void | resetTitleFormat () |
const std::string & | titleFormat () const |
ViewArea * | viewArea () const |
bool | isActive () const |
bool | hasFocus () const |
void | bringToFront () |
SignalProxy< void()> | sigActivated () |
SignalProxy< void()> | sigDeactivated () |
SignalProxy< void()> | sigResized () |
SignalProxy< void()> | sigRemoved () |
void | setDefaultLayoutArea (LayoutArea area) |
LayoutArea | defaultLayoutArea () const |
void | setLayout (QLayout *layout, double marginRatio=0.0) |
void | setLayout (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
QPoint | viewAreaPos () const |
virtual QWidget * | indicatorOnInfoBar () |
void | enableFontSizeZoomKeys (bool on) |
Public Member Functions inherited from cnoid::Widget | |
Widget (QWidget *parent=0) | |
SignalProxy< void(std::string name)> | sigObjectNameChanged () |
SignalProxy< void(std::string title)> | sigWindowTitleChanged () |
Public Member Functions inherited from cnoid::AbstractTaskSequencer | |
virtual | ~AbstractTaskSequencer () |
Static Public Member Functions | |
static void | initializeClass (ExtensionManager *ext) |
static TaskView * | instance () |
Static Public Member Functions inherited from cnoid::View | |
static View * | lastFocusView () |
Protected Member Functions | |
virtual bool | storeState (Archive &archive) |
virtual bool | restoreState (const Archive &archive) |
Protected Member Functions inherited from cnoid::View | |
void | setLayoutContentsMarginRatio (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
void | zoomFontSize (int zoom) |
virtual void | onActivated () |
virtual void | onDeactivated () |
virtual void | onFocusChanged (bool on) |
virtual void | onAttachedMenuRequest (MenuManager &menuManager) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
Additional Inherited Members | |
Public Types inherited from cnoid::View | |
enum | LayoutArea { TopLeftArea = 0, MiddleLeftArea = 1, BottomLeftArea = 2, TopCenterArea = 3, CenterArea = 4, BottomCenterArea = 5, TopRightArea = 6, MiddleRightArea = 7, BottomRightArea = 8, NumLayoutAreas = 9, LEFT = TopLeftArea, LEFT_TOP = TopLeftArea, LEFT_BOTTOM = BottomLeftArea, CENTER = CenterArea, RIGHT = TopRightArea, BOTTOM = BottomCenterArea } |
TaskView::TaskView | ( | ) |
TaskView::~TaskView | ( | ) |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
void TaskView::checkMenuItem | ( | int | index, |
bool | on | ||
) |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
void TaskView::executeMenuItem | ( | int | index | ) |
|
static |
|
static |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
bool TaskView::isNoExecutionMode | ( | ) | const |
std::vector< bool > TaskView::menuItemCheckStates | ( | ) | const |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
protectedvirtual |
Reimplemented from cnoid::View.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
void TaskView::setBusyState | ( | bool | on | ) |
void TaskView::setCurrentCommand | ( | int | commandIndex, |
bool | doExecution | ||
) |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
void TaskView::setNoExecutionMode | ( | bool | on | ) |
void TaskView::showMenu | ( | std::vector< bool > | checkStates | ) |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
SignalProxy< void(int index, bool on)> TaskView::sigMenuItemToggled | ( | ) |
SignalProxy< void(int index)> TaskView::sigMenuItemTriggered | ( | ) |
SignalProxy< void()> TaskView::sigMenuRequest | ( | ) |
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
protectedvirtual |
Reimplemented from cnoid::View.
|
virtual |
Implements cnoid::AbstractTaskSequencer.
|
virtual |
Implements cnoid::AbstractTaskSequencer.