Implementation of ElapsedTimeBase.
More...
#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>
|
| using | Clock = std::chrono::system_clock |
| | The used clock type.
|
| |
| using | TimePoint = Clock::time_point |
| | The type of the used time point.
|
| |
|
| void | allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override |
| | Sets the next time to allocate depending on the flag skipping.
|
| |
| | ElapsedTime (Ice::Long timeDeltaInSeconds, bool skipping) |
| | Ctor.
|
| |
| void | setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override |
| | Sets the next time to allocate delta seconds from now.
|
| |
| bool | shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override |
| | Returns true if the last creation timepoint is more than delta seconds away.
|
| |
| 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 ElapsedTimeBase.
- See also
- ElapsedTimeBase
◆ Clock
| using Clock = std::chrono::system_clock |
◆ TimePoint
The type of the used time point.
◆ ElapsedTime() [1/2]
| ElapsedTime |
( |
Ice::Long | timeDeltaInSeconds, |
|
|
bool | skipping ) |
|
inline |
Ctor.
- Parameters
-
| timeDeltaInSeconds | The delta to use.(in seconds) |
| skipping | Whether skipping is activated. |
◆ ElapsedTime() [2/2]
Ctor used for object factories.
◆ allocatedComputingPower()
| void allocatedComputingPower |
( |
const Ice::Current & | = Ice::emptyCurrent | ) |
|
|
override |
Sets the next time to allocate depending on the flag skipping.
skipping == true: now + delta seconds. skipping == false: the current next time point + delta seconds. (may already passed)
◆ setCurrentStateAsInitialState()
| void setCurrentStateAsInitialState |
( |
const ::Ice::Current & | = Ice::emptyCurrent | ) |
|
|
inlineoverride |
Sets the next time to allocate delta seconds from now.
◆ shouldAllocateComputingPower()
| bool shouldAllocateComputingPower |
( |
const ::Ice::Current & | = Ice::emptyCurrent | ) |
|
|
inlineoverridevirtual |
◆ armarx::GenericFactory
template<class Base, class Derived>
◆ allocatedLastTime
The time point when more power should be allocated again.
The documentation for this class was generated from the following files: