SetSource¶
-
virtual void IInput::SetSource(PSignal signal) = 0¶
Sets the signal connected to this input.
- Parameters
signal – Signal connected to the input or empty pointer if disconnected.
- Throws
CInvalidArgumentException
– Signal is not in set of allowed signals, see product specific documentation.CUnsupportedException
– Input is not configurable, not possible to change connected signal or input cannot be disconnected, see product specific documentation.CInvalidOperationException
– Input is in use and connected signal cannot be changed at this time, see input parent interface for limitations.CInvalidOperationException
– Top-controller state is not “Config” or “Run”.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.