|
Implementation of TaskStatusBase. More...
#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>
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 558 of file ComputingPowerRequestStrategy.h.
|
inline |
Ctor.
strategyPerTaskStatus | Task status to sub strategy map. |
Definition at line 567 of file ComputingPowerRequestStrategy.h.
|
inlineprotected |
Ctor used for object factories.
Definition at line 618 of file ComputingPowerRequestStrategy.h.
|
override |
Passes this call to all sub strategies.
Definition at line 82 of file ComputingPowerRequestStrategy.cpp.
|
inlineoverridevirtual |
Returns the result of the current selected strategy.
Implements ComputingPowerRequestStrategy.
Definition at line 602 of file ComputingPowerRequestStrategy.h.
|
override |
Passes this call to all sub strategies.
count | The new count |
Definition at line 63 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 90 of file ComputingPowerRequestStrategy.cpp.
|
override |
Switches the current strategy and passes this call to all sub strategies.
newStatus |
Definition at line 71 of file ComputingPowerRequestStrategy.cpp.
|
friend |
Definition at line 614 of file ComputingPowerRequestStrategy.h.
|
protected |
The current strategy in use.
Definition at line 611 of file ComputingPowerRequestStrategy.h.