Implementation of NoNodeCreatedBase.
More...
#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>
|
void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
|
void | ice_postUnmarshal () override |
| Nulls the backlog after the object was transmitted through ice. More...
|
|
| NoNodeCreated (Ice::Long timeDeltaInSec, bool skip, float sig, Ice::Long backlogSz) |
| ctor More...
|
|
bool | shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override |
| shouldAllocateComputingPower More...
|
|
void | updateNodeCreations (Ice::Long nodesCreated, Ice::Long tries, const Ice::Current &=Ice::emptyCurrent) override |
| Updates the number of failed node creations. More...
|
|
void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| Sets the next time to allocate depending on the flag skipping. More...
|
|
| ElapsedTime (Ice::Long timeDeltaInSeconds, bool skipping) |
| Ctor. More...
|
|
void | setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override |
| Sets the next time to allocate delta seconds from now. More...
|
|
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...
|
|
|
using | Clock = std::chrono::system_clock |
| The used clock type. More...
|
|
using | TimePoint = Clock::time_point |
| The type of the used time point. More...
|
|
Implementation of NoNodeCreatedBase.
- See also
- NoNodeCreatedBase
Definition at line 417 of file ComputingPowerRequestStrategy.h.
◆ NoNodeCreated() [1/2]
ctor
- Parameters
-
timeDeltaInSeconds | The delta to use.(in seconds) |
skipping | Whether skipping is activated. |
sig | The parameter sigma. |
backlogSz | The backlog's size. |
Definition at line 429 of file ComputingPowerRequestStrategy.h.
◆ NoNodeCreated() [2/2]
Ctor used for object factories.
◆ allocatedComputingPower()
void allocatedComputingPower |
( |
const Ice::Current & |
= Ice::emptyCurrent | ) |
|
|
override |
◆ ice_postUnmarshal()
void ice_postUnmarshal |
( |
| ) |
|
|
inlineoverride |
◆ shouldAllocateComputingPower()
bool shouldAllocateComputingPower |
( |
const ::Ice::Current & |
= Ice::emptyCurrent | ) |
|
|
inlineoverridevirtual |
◆ updateNodeCreations()
void updateNodeCreations |
( |
Ice::Long |
nodesCreated, |
|
|
Ice::Long |
tries, |
|
|
const Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
Updates the number of failed node creations.
- Parameters
-
nodesCreated | Number of created nodes. |
tries | Number of tries to create nodes. |
Definition at line 98 of file ComputingPowerRequestStrategy.cpp.
◆ armarx::GenericFactory
◆ backlog
std::vector<char> backlog |
|
protected |
The backlog.
chars are used instead of bools since vector<bool> is specialized. contains a 1 if a node creation failed and 0 if it was successfull;
Definition at line 474 of file ComputingPowerRequestStrategy.h.
◆ currentBacklogIndex
std::size_t currentBacklogIndex |
|
protected |
The documentation for this class was generated from the following files: