MochiEngine
Loading...
Searching...
No Matches
Mochi::Event::ISystemEventDispatcher Class Referenceabstract

Interface to poll the events of the operative system (input, window controls, application exit...). More...

#include <ISystemEventDispatcher.h>

Inheritance diagram for Mochi::Event::ISystemEventDispatcher:
Mochi::Event::DummyEventDispatcher Mochi::Event::SDLSystemEventDispatcher

Public Member Functions

virtual void PollEvents () const =0
 Implement this with the polling of events of the operative system. This will be called once per frame in the Engine class.

Detailed Description

Interface to poll the events of the operative system (input, window controls, application exit...).

Member Function Documentation

◆ PollEvents()

virtual void Mochi::Event::ISystemEventDispatcher::PollEvents ( ) const
pure virtual

Implement this with the polling of events of the operative system. This will be called once per frame in the Engine class.

Implemented in Mochi::Event::DummyEventDispatcher, and Mochi::Event::SDLSystemEventDispatcher.


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