|
Arcade architecture
|
Interface for display modules. More...
#include <IDisplayModule.hpp>

Public Member Functions | |
| virtual | ~IDisplayModule ()=default |
| Virtual destructor. More... | |
| virtual void | init ()=0 |
| Initialize the display module. More... | |
| virtual void | stop ()=0 |
| Stop the display module. More... | |
| virtual const std::string & | getName () const =0 |
| Retrieves the name of the display module. More... | |
Interface for display modules.
The IDisplayModule interface defines the methods that must be implemented by any display module in the barcade project. These methods include initialization, stopping, and retrieving the module's name.
|
virtualdefault |
Virtual destructor.
Ensures proper cleanup of derived classes.
|
pure virtual |
Retrieves the name of the display module.
This function returns a constant reference to a string representing the name of the display module. It is a pure virtual function and must be implemented by any class inheriting from this interface.
Implemented in arcadeCaca, arcadeSdl2, arcadeSfml, and DisplayModule.
|
pure virtual |
Initialize the display module.
This method is responsible for setting up any necessary resources or configurations required by the display module.
Implemented in arcadeCaca, arcadeSdl2, arcadeSfml, and DisplayModule.
|
pure virtual |
Stop the display module.
This method is responsible for releasing any resources or configurations used by the display module.
Implemented in arcadeCaca, arcadeSdl2, arcadeSfml, and DisplayModule.