Home Previous Up Next Index

armarx::cprs::ElapsedTimeBase

Overview

[ "cpp:virtual" ] class ElapsedTimeBase extends ComputingPowerRequestStrategyBase

@brief A strategy returning true again after set time delta.

Derived Classes and Interfaces

NoNodeCreatedBase

Data Member Index

timeDeltaInSeconds
@brief The used time delta.
skipping
@brief Whether the strategy skips multiple pending requests.

Data Members

long timeDeltaInSeconds;

@brief The used time delta.

bool skipping;

@brief Whether the strategy skips multiple pending requests. (example: last update at t, now it is t+2d, if true three consecutive calls to shouldAllocateComputingPower() will return true, false, false. if false three calls will return true, true, false)


Home Previous Up Next Index