version 0.4
Ikarus::IkarusInstance Class Reference

Singleton class representing an instance of the Ikarus framework. More...

#include <ikarus/utils/init.hh>

Public Member Functions

void enableFileLogger (std::string &&filename="")
 Enables a file logger. More...
 
 IkarusInstance (IkarusInstance const &)=delete
 
void operator= (IkarusInstance const &)=delete
 

Static Public Member Functions

static IkarusInstance & getInstance ()
 Gets the singleton instance of the Ikarus framework. More...
 

Detailed Description

This class manages the initialization and configuration of the Ikarus framework. It provides functionality to enable a file logger and prints a banner and version information on initialization.

Constructor & Destructor Documentation

◆ IkarusInstance()

Ikarus::IkarusInstance::IkarusInstance ( IkarusInstance const &  )
delete

Member Function Documentation

◆ enableFileLogger()

void Ikarus::IkarusInstance::enableFileLogger ( std::string &&  filename = "")
inline
Parameters
filenameThe name of the log file. If empty, the executable name is used.

◆ getInstance()

static IkarusInstance & Ikarus::IkarusInstance::getInstance ( )
inlinestatic
Returns
The singleton instance.

◆ operator=()

void Ikarus::IkarusInstance::operator= ( IkarusInstance const &  )
delete

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