version 0.4.1
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 (const IkarusInstance &)=delete
 
void operator= (const IkarusInstance &)=delete
 

Static Public Member Functions

static IkarusInstancegetInstance ()
 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 ( const IkarusInstance )
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= ( const IkarusInstance )
delete

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