stmm-input-doc  0.17.0
Public Member Functions | List of all members
stmi::CallIfXYEvent Class Referencefinal

XYEvent class callif. More...

Inheritance diagram for stmi::CallIfXYEvent:
Inheritance graph
[legend]

Public Member Functions

 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...
 
- Public Member Functions inherited from stmi::CallIf
virtual ~CallIf () noexcept=default
 

Additional Inherited Members

- Protected Member Functions inherited from stmi::CallIf
 CallIf () noexcept
 

Detailed Description

XYEvent class callif.

Selects events that are subclasses of XYEvent.

Constructor & Destructor Documentation

◆ CallIfXYEvent()

stmi::CallIfXYEvent::CallIfXYEvent ( )
noexcept

Member Function Documentation

◆ 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
refEventThe event. Cannot be null.
Returns
true if the event is to be sent to the listener, false otherwise.

Implements stmi::CallIf.