SetDuration¶
-
virtual void IWaitDuration::SetDuration(double duration) = 0¶
Sets the duration of the wait.
- Parameters
duration – Duration to wait in seconds.
- Throws
CInvalidArgumentException– Invalid duration (zero, negative or NaN).CInvalidOperationException– Command state not “Idle” or “Queued”.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CObjectDestroyedException– Object is destroyed.