Arcade architecture
main.cpp File Reference

Entry point for the libBar library. More...

#include <iostream>
#include <unistd.h>
#include "arcade_sfml.hpp"
#include "LoaderType.hpp"
Include dependency graph for main.cpp:

Functions

IDisplayModulegetClass (void)
 Factory function to create an instance of libBar. More...
 
Loader::ModuleType_t getModuleType (void)
 
 __attribute__ ((constructor)) void const ruct()
 
 __attribute__ ((destructor)) void deconstruct()
 

Detailed Description

Entry point for the libBar library.

This file contains the implementation of the getClass function which returns an instance of the libBar class.

Author
roussierenoa
Date
3/17/25

Function Documentation

◆ getClass()

IDisplayModule * getClass ( void  )

Factory function to create an instance of libBar.

This function is used to create and return a new instance of the libBar class. It is intended to be used as an entry point for dynamic loading of the library.

Returns
IDisplayModule* Pointer to the newly created libBar instance.