Arcade architecture
arcadeSfml Class Reference

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

#include <arcade_sfml.hpp>

Inheritance diagram for arcadeSfml:
Collaboration diagram for arcadeSfml:

Public Member Functions

 arcadeSfml ()
 Constructs a new arcadeSfml object.
 
 ~arcadeSfml ()
 Destroys the arcadeSfml 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 Sfml"
 

Detailed Description

A class that implements the IDisplayModule interface.

The arcadeSfml class provides an implementation of the IDisplayModule interface. It includes methods for initializing and stopping the display module, as well as retrieving the name of the module.

Member Function Documentation

◆ getName()

const std::string & arcadeSfml::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 arcadeSfml::init ( )
overrideprivatevirtual

Initializes the display module.

This method is called to initialize the display module.

Implements IDisplayModule.

◆ stop()

void arcadeSfml::stop ( )
overrideprivatevirtual

Stops the display module.

This method is called to stop the display module.

Implements IDisplayModule.

Member Data Documentation

◆ _libName

std::string arcadeSfml::_libName = "Arcade Sfml"
private

The name of the library.


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