AddEvent¶
-
virtual void IEventResponse::AddEvent(PEvent event) = 0¶
Add the given event to the collection of events used as source for this response.
- Parameters
event – Event to add to the collection of events configured this response.
- Throws
CNullArgumentException
– Empty pointer was passed.CInvalidArgumentException
– Event cannot be configured for this response.CUnknownObjectException
– Event 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 events reached.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
Adding an event that is already part of the collection has no effect on the collection.