Arcade architecture
arcadeCaca Class Reference

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

#include <arcade_caca.hpp>

Inheritance diagram for arcadeCaca:
Collaboration diagram for arcadeCaca:

Public Member Functions

 arcadeCaca ()
 Constructor for the arcadeCaca class. More...
 
 ~arcadeCaca ()
 Destructor for the arcadeCaca class. More...
 
- 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 Caca"
 The name of the library.
 

Detailed Description

A class that implements the IDisplayModule interface.

The arcadeCaca class provides an implementation of the IDisplayModule interface, including methods for initialization, stopping, and retrieving the module name.

Constructor & Destructor Documentation

◆ arcadeCaca()

arcadeCaca::arcadeCaca ( )

Constructor for the arcadeCaca class.

This constructor initializes a new instance of the arcadeCaca class.

◆ ~arcadeCaca()

arcadeCaca::~arcadeCaca ( )

Destructor for the arcadeCaca class.

This destructor cleans up any resources used by the arcadeCaca class.

Member Function Documentation

◆ getName()

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

Initializes the display module.

This method is called to initialize the display module.

Implements IDisplayModule.

◆ stop()

void arcadeCaca::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: