SetState¶
-
virtual void IStateMachine::SetState(T state) = 0¶
Sets the state of the state machine.
- Parameters
state – State of the state machine.
- Throws
CInvalidArgumentException
– Unknown state specified.CInvalidConfigException
– Requested state transition not possible due to invalid configuration.CUnsupportedException
– Changing states not supported, i.e. state machine is read-only.CInvalidOperationException
– Requested state transition is invalid.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException
– Incompatible firmware version loaded (only applicable if entity is a controller).