AddSignal¶
-
virtual void ISignalCollection::AddSignal(PSignal signal) = 0¶
Adds signal to collection; it is allowed to add signals multiple times.
- Parameters
signal – Signal to add to collection of signals.
- Throws
CInvalidArgumentException– Signal cannot be added to this collection.CUnknownObjectException– Signal is unknown, belongs to other controller.CUnsupportedException– Collection cannot be modified.CInvalidOperationException– Entity associated with this collection is in invalid state.COutOfResourcesException– Maximum number of signals reached.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.