SetTimeout¶
-
virtual void IAlignment::SetTimeout(double timeout) = 0¶
Sets the timeout used for this alignment method.
- Parameters
timeout – Timeout in seconds. Negative value means infinite.
- Throws
CInvalidArgumentException
– Invalid timeout value (NaN).CResourceBusyException
– An alignment method is currently being executed.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
Failure to meet the specified method within the timeout specified leads to failure of alignment, i.e. alignment state will transit to EAlignmentState::Error.