Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::kernel::Bootloader Class Referencefinal

Configures a kernel for running. More...

#include <bootloader.h>

Public Member Functions

 ~Bootloader ()
KernelConfiggetConfig () noexcept
 The loaded configuration info.

Static Public Member Functions

static std::unique_ptr< Bootloader > fromYamlFile (const std::filesystem::path &path, bool printConfig)
 Opens a YAML configuration file and stores it in a KernelConfig structure.
static std::unique_ptr< Bootloader > fromYamlString (const std::string &config, bool printConfig)
 Reads the configuration from a string in YAML format.

Detailed Description

Configures a kernel for running.

Constructor & Destructor Documentation

◆ ~Bootloader()

sen::kernel::Bootloader::~Bootloader ( )

Member Function Documentation

◆ fromYamlFile()

std::unique_ptr< Bootloader > sen::kernel::Bootloader::fromYamlFile ( const std::filesystem::path & path,
bool printConfig )
static

Opens a YAML configuration file and stores it in a KernelConfig structure.

◆ fromYamlString()

std::unique_ptr< Bootloader > sen::kernel::Bootloader::fromYamlString ( const std::string & config,
bool printConfig )
static

Reads the configuration from a string in YAML format.

◆ getConfig()

KernelConfig & sen::kernel::Bootloader::getConfig ( )
nodiscardnoexcept

The loaded configuration info.


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