|
|
Implementation of TaskStatusBase. More...
#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>
Inheritance diagram for TaskStatus:Public Member Functions | |
| void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| Passes this call to all sub strategies. More... | |
| bool | shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override |
| Returns the result of the current selected strategy. More... | |
| TaskStatus (TaskStatusMap strategyPerTaskStatus) | |
| Ctor. More... | |
| void | updateNodeCount (Ice::Long count, const Ice::Current &=Ice::emptyCurrent) override |
| Passes this call to all sub strategies. More... | |
| void | updateNodeCreations (Ice::Long nodesCreated, Ice::Long tries, const Ice::Current &=Ice::emptyCurrent) override |
| Passes this call to all sub strategies. More... | |
| void | updateTaskStatus (armarx::TaskStatus::Status newStatus, const Ice::Current &=Ice::emptyCurrent) override |
| Switches the current strategy and passes this call to all sub strategies. More... | |
Public Member Functions inherited from ComputingPowerRequestStrategy | |
| void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| Default implementation. More... | |
| void | setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override |
| Default implementation. More... | |
| void | updateNodeCount (Ice::Long, const Ice::Current &=Ice::emptyCurrent) override |
| Default implementation. More... | |
| void | updateNodeCreations (Ice::Long, Ice::Long, const Ice::Current &=Ice::emptyCurrent) override |
| Default implementation. More... | |
| void | updateTaskStatus (armarx::TaskStatus::Status, const Ice::Current &=Ice::emptyCurrent) override |
| Default implementation. More... | |
| ~ComputingPowerRequestStrategy () override=default | |
| Dtor. More... | |
Protected Member Functions | |
| TaskStatus () | |
| Ctor used for object factories. More... | |
Protected Attributes | |
| ComputingPowerRequestStrategyBase * | current |
| The current strategy in use. More... | |
Friends | |
| template<class Base , class Derived > | |
| class | armarx::GenericFactory |
Implementation of TaskStatusBase.
Definition at line 598 of file ComputingPowerRequestStrategy.h.
|
inline |
Ctor.
| strategyPerTaskStatus | Task status to sub strategy map. |
Definition at line 605 of file ComputingPowerRequestStrategy.h.
|
inlineprotected |
Ctor used for object factories.
Definition at line 662 of file ComputingPowerRequestStrategy.h.
|
override |
Passes this call to all sub strategies.
Definition at line 86 of file ComputingPowerRequestStrategy.cpp.
|
inlineoverridevirtual |
Returns the result of the current selected strategy.
Implements ComputingPowerRequestStrategy.
Definition at line 643 of file ComputingPowerRequestStrategy.h.
|
override |
Passes this call to all sub strategies.
| count | The new count |
Definition at line 65 of file ComputingPowerRequestStrategy.cpp.
|
override |
Passes this call to all sub strategies.
| nodesCreated | Number of created nodes. |
| tries | Number of tries to create nodes. |
Definition at line 95 of file ComputingPowerRequestStrategy.cpp.
|
override |
Switches the current strategy and passes this call to all sub strategies.
| newStatus |
Definition at line 74 of file ComputingPowerRequestStrategy.cpp.
|
friend |
Definition at line 657 of file ComputingPowerRequestStrategy.h.
|
protected |
The current strategy in use.
Definition at line 653 of file ComputingPowerRequestStrategy.h.