RemoveSignal¶
-
virtual bool ISignalCollection::RemoveSignal(PSignal signal) = 0¶
Removes the specified signal from the collection.
- Parameters
signal – Signal to remove from the collection.
- Returns
bool – True when the signal is removed, false if it does not occur in the collection.
- Throws
CInvalidArgumentException
– Signal was not selected.CUnsupportedException
– Collection cannot be modified.CInvalidOperationException
– Entity associated with this collection is in invalid state.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
If this signal occurs multiple times, the first occurrence is removed.