Arcade architecture
arcadeSdl2 Class Reference

A class that implements the IDisplayModule interface. More...

#include <arcade_sdl2.hpp>

Inheritance diagram for arcadeSdl2:
Collaboration diagram for arcadeSdl2:

Public Member Functions

 arcadeSdl2 ()
 Constructs a new arcadeSdl2 object.
 
 ~arcadeSdl2 ()
 Destroys the arcadeSdl2 object.
 
- Public Member Functions inherited from IDisplayModule
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...
 

Private Member Functions

void init () override
 Initializes the display module. More...
 
void stop () override
 Stops the display module. More...
 
const std::string & getName () const override
 Gets the name of the display module. More...
 

Private Attributes

std::string _libName = "Arcade SDL2"
 The name of the library.
 

Detailed Description

A class that implements the IDisplayModule interface.

The arcadeSdl2 class provides an implementation of the IDisplayModule interface. It includes methods for initialization, stopping, and retrieving the module name.

Member Function Documentation

◆ getName()

const std::string & arcadeSdl2::getName ( ) const
overrideprivatevirtual

Gets the name of the display module.

Returns
A constant reference to the name of the display module.

Implements IDisplayModule.

◆ init()

void arcadeSdl2::init ( )
overrideprivatevirtual

Initializes the display module.

This method is called to initialize the display module.

Implements IDisplayModule.

◆ stop()

void arcadeSdl2::stop ( )
overrideprivatevirtual

Stops the display module.

This method is called to stop the display module.

Implements IDisplayModule.


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