iberbox  2.1.2
iberbox::EventListener Class Reference

Inherits SharedOwnership.

Collaboration diagram for iberbox::EventListener:

Public Member Functions

 EventListener ()
 
 EventListener (std::function< void(Event)> eventCallback)
 
virtual void onEvent (Event)
 
void setEventCallback (std::function< void(Event)> eventCallback)
 
virtual ~EventListener ()
 

Constructor & Destructor Documentation

◆ EventListener() [1/2]

iberbox::EventListener::EventListener ( )

◆ EventListener() [2/2]

iberbox::EventListener::EventListener ( std::function< void(Event)>  eventCallback)

◆ ~EventListener()

virtual iberbox::EventListener::~EventListener ( )
virtual

Member Function Documentation

◆ onEvent()

virtual void iberbox::EventListener::onEvent ( Event  )
virtual

◆ setEventCallback()

void iberbox::EventListener::setEventCallback ( std::function< void(Event)>  eventCallback)

The documentation for this class was generated from the following file: