XYEvent class callif.
More...
|
| | CallIfXYEvent () noexcept |
| |
| bool | operator() (const shared_ptr< const Event > &refEvent) const noexcept override |
| | Function that determines whether an event should be sent to a listener. More...
|
| |
| virtual | ~CallIf () noexcept=default |
| |
XYEvent class callif.
Selects events that are subclasses of XYEvent.
◆ CallIfXYEvent()
| stmi::CallIfXYEvent::CallIfXYEvent |
( |
| ) |
|
|
noexcept |
◆ operator()()
| bool stmi::CallIfXYEvent::operator() |
( |
const shared_ptr< const Event > & |
refEvent | ) |
const |
|
inlineoverridevirtualnoexcept |
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.
Implements stmi::CallIf.