ShishGL  1.0
A simple modular cross-platform graphics library
Sh::Event Class Referenceabstract

#include <Event.hpp>

Inheritance diagram for Sh::Event:

Public Member Functions

bool isReceived () const
 

Protected Member Functions

 Event ()
 
virtual bool happen (Listener *listener)=0
 
virtual EventMask mask ()
 
virtual ~Event ()=default
 

Friends

class EventSystem
 
class EventManager
 

Constructor & Destructor Documentation

◆ Event()

Event::Event ( )
protected

◆ ~Event()

virtual Sh::Event::~Event ( )
protectedvirtualdefault

Member Function Documentation

◆ happen()

virtual bool Sh::Event::happen ( Listener listener)
protectedpure virtual

◆ isReceived()

bool Event::isReceived ( ) const

◆ mask()

EventMask Event::mask ( )
protectedvirtual

Friends And Related Function Documentation

◆ EventManager

friend class EventManager
friend

◆ EventSystem

friend class EventSystem
friend

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