GetEvent¶
-
virtual PEvent IEventSource::GetEvent(const std::string &name) = 0¶
Gets the event with the specified name.
- Parameters
name – Name of the event.
- Returns
PEvent – The event with the specified name.
- Throws
CInvalidArgumentException
– Event with specified name does not exist.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).