IWaitDuration

class IWaitDuration : virtual public ICommandBase

The command waits for a configured duration.

Remarks

The duration is quantized using the sample period of the axiscontrol on which the command is reserved. The resulting duration in samples is rounded to the nearest integer multiple greater than or equal to the requested duration to ensure that the command waits for at least the requested duration. Configuring a duration equal to +Inf is allowed and results a command that remains in state “Running” until aborted, e.g. by means of ICommandQueue::Clear.

virtual IWaitDuration::~IWaitDuration()

virtual double IWaitDuration::GetDuration() = 0

virtual void IWaitDuration::SetDuration(double duration) = 0