Lomse library. API documentation  0.30.0
EventHandler Class Referenceabstract

#include <lomse_events.h>

Inheritance diagram for EventHandler:
Interactor

Detailed Description

Abstract base class. Any class that wants to receive events must derive from EventHandler and must implement the handle_event() method.

Public Member Functions

virtual ~EventHandler ()
 
virtual void handle_event (SpEventInfo pEvent)=0
 

Constructor & Destructor Documentation

◆ ~EventHandler()

virtual EventHandler::~EventHandler ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ handle_event()

virtual void EventHandler::handle_event ( SpEventInfo  pEvent)
pure virtual

Request for handling the passed event.