|
#include <RobotComponents/components/MotionPlanning/Tasks/MotionPlanningTask.h>
Public Member Functions | |
void | addTaskStatusCallback (std::function< void(TaskStatus::Status)> cb) |
Ice::Long | getPlanningTime (const Ice::Current &) const override |
MotionPlanningTaskBasePrx & | getProxy () |
Ice::Long | getRefiningTime (const Ice::Current &) const override |
Ice::Long | getRunningTime (const Ice::Current &) const override |
std::string | getTaskName (const Ice::Current &=Ice::emptyCurrent) const override |
TaskStatus::Status | getTaskStatus (const Ice::Current &=Ice::emptyCurrent) const override |
MotionPlanningTask ()=default | |
virtual void | onPlanningDone () |
virtual void | onRefiningDone () |
virtual void | postEnqueueing () |
Called by the planning server after the task was enqueued. More... | |
virtual void | registerAtIceAdapter (Ice::ObjectAdapterPtr &adapter, const Ice::Identity ident) |
bool | setTaskStatus (TaskStatus::Status newTaskStatus, const Ice::Current &=Ice::emptyCurrent) override |
~MotionPlanningTask () override=default | |
Public Member Functions inherited from MotionPlanningTaskCI | |
bool | finishedRunning (const Ice::Current &=Ice::emptyCurrent) const override |
Returns whether the task has finished planning. More... | |
bool | isRunning (const Ice::Current &=Ice::emptyCurrent) const override |
Returns whether the task is currently planning. More... | |
void | waitForFinishedPlanning_async (const AMD_MotionPlanningTaskControlInterface_waitForFinishedPlanningPtr &cb, const Ice::Current &=Ice::emptyCurrent) override |
void | waitForFinishedRunning_async (const AMD_MotionPlanningTaskControlInterface_waitForFinishedRunningPtr &cb, const Ice::Current &=Ice::emptyCurrent) override |
Protected Attributes | |
Ice::Long | planningTime = 0 |
The planning time in microseconds. More... | |
Ice::Long | refiningTime = 0 |
The refining time in microseconds. More... | |
Protected Attributes inherited from MotionPlanningTaskCI | |
AMDCallbackCollection | waitForFinishedPlanning |
AMDCallbackCollection | waitForFinishedRunning |
Friends | |
class | MotionPlanningServer |
Definition at line 56 of file MotionPlanningTask.h.
|
default |
|
overridedefault |
|
inline |
Definition at line 104 of file MotionPlanningTask.h.
|
inlineoverride |
Definition at line 109 of file MotionPlanningTask.h.
|
inline |
|
inlineoverride |
Definition at line 113 of file MotionPlanningTask.h.
|
inlineoverride |
Definition at line 117 of file MotionPlanningTask.h.
|
inlineoverride |
Definition at line 99 of file MotionPlanningTask.h.
|
inlineoverride |
|
inlinevirtual |
Definition at line 75 of file MotionPlanningTask.h.
|
inlinevirtual |
Definition at line 76 of file MotionPlanningTask.h.
|
inlinevirtual |
Called by the planning server after the task was enqueued.
Override this function to prepare some work (e.g. setting the status from eNew to eQueued)
Reimplemented in PostprocessingMotionPlanningTask, and Task.
Definition at line 70 of file MotionPlanningTask.h.
|
inlinevirtual |
Reimplemented in PostprocessingMotionPlanningTask.
Definition at line 90 of file MotionPlanningTask.h.
|
override |
Definition at line 30 of file MotionPlanningTask.cpp.
|
friend |
Definition at line 60 of file MotionPlanningTask.h.
|
protected |
The planning time in microseconds.
Definition at line 126 of file MotionPlanningTask.h.
|
protected |
The refining time in microseconds.
Definition at line 130 of file MotionPlanningTask.h.