Base class used to determine whether to send an event to a listener.
More...
|
| virtual | ~CallIf () noexcept=default |
| |
| virtual bool | operator() (const shared_ptr< const Event > &refEvent) const noexcept=0 |
| | Function that determines whether an event should be sent to a listener. More...
|
| |
◆ ~CallIf()
| virtual stmi::CallIf::~CallIf |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ CallIf()
◆ operator()()
| virtual bool stmi::CallIf::operator() |
( |
const shared_ptr< const Event > & |
refEvent | ) |
const |
|
pure virtualnoexcept |
Function that determines whether an event should be sent to a listener.
- Parameters
-
| refEvent | The event. Cannot be null. |
- Returns
true if the event is to be sent to the listener, false otherwise.
Implemented in stmi::CallIfFuction, stmi::CallIfXYEvent, stmi::CallIfEventClass, stmi::CallIfDeviceManagerCapability, stmi::CallIfCapabilityClass, stmi::CallIfCapabilityId, stmi::CallIfDeviceId, stmi::CallIfAccessor, stmi::CallIfNot, stmi::CallIfOr, stmi::CallIfAnd, stmi::CallIfFalse, and stmi::CallIfTrue.