Implementation of TotalNodeCountBase.
More...
#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>
|
| void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| | Sets the next creation count to allocate depending on the flag skipping.
|
| |
| bool | shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override |
| | Returns true if the the current count is >= the next creation count.
|
| |
| | TotalNodeCount (Ice::Long nodeCountDelta, bool skipping) |
| | Ctor.
|
| |
| void | updateNodeCount (Ice::Long newCount, const Ice::Current &=Ice::emptyCurrent) override |
| | Updates the internal node count.
|
| |
| void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| | Default implementation.
|
| |
| void | setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override |
| | Default implementation.
|
| |
| void | updateNodeCount (Ice::Long, const Ice::Current &=Ice::emptyCurrent) override |
| | Default implementation.
|
| |
| void | updateNodeCreations (Ice::Long, Ice::Long, const Ice::Current &=Ice::emptyCurrent) override |
| | Default implementation.
|
| |
| void | updateTaskStatus (armarx::TaskStatus::Status, const Ice::Current &=Ice::emptyCurrent) override |
| | Default implementation.
|
| |
| | ~ComputingPowerRequestStrategy () override=default |
| | Dtor.
|
| |
Implementation of TotalNodeCountBase.
- See also
- TotalNodeCountBase
◆ TotalNodeCount() [1/2]
Ctor.
- Parameters
-
| nodeCountDelta | The delta to use. |
| skipping | Whether skipping is activated. |
◆ TotalNodeCount() [2/2]
Ctor used for object factories.
◆ allocatedComputingPower()
| void allocatedComputingPower |
( |
const Ice::Current & | = Ice::emptyCurrent | ) |
|
|
override |
Sets the next creation count to allocate depending on the flag skipping.
skipping == true: current count + delta. skipping == false: the current next creation count + delta. (may be smaller than the current count)
◆ shouldAllocateComputingPower()
| bool shouldAllocateComputingPower |
( |
const ::Ice::Current & | = Ice::emptyCurrent | ) |
|
|
inlineoverridevirtual |
Returns true if the the current count is >= the next creation count.
- Returns
- Whether more computing power should be allocated.
Implements ComputingPowerRequestStrategy.
◆ updateNodeCount()
| void updateNodeCount |
( |
Ice::Long | newCount, |
|
|
const Ice::Current & | = Ice::emptyCurrent ) |
|
inlineoverride |
Updates the internal node count.
- Parameters
-
| newCount | The new node count. |
◆ armarx::GenericFactory
template<class Base, class Derived>
◆ allocateNextTime
| Ice::Long allocateNextTime |
|
protected |
The count when to allocate more power.
◆ nodeCount
The documentation for this class was generated from the following files: