StormByte-System 3.0.0
C++26 process and environment module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::System::Host::Motherboard Class Reference

Native motherboard queries, without requiring external commands. More...

#include <StormByte/system/host.hxx>

Public Member Functions

 Motherboard ()=default
 Construct a stateless query object without probing.
 Motherboard (const Motherboard &other)=default
 Copy a query object.
 Motherboard (Motherboard &&other) noexcept=default
 Move a query object.
 ~Motherboard ()=default
 Destroy a query object.
Motherboard & operator= (const Motherboard &other)=default
 Copy-assign a query object.
Motherboard & operator= (Motherboard &&other) noexcept=default
 Move-assign a query object.
StormByte::Safe::String Manufacturer () const
 Board manufacturer supplied by firmware.
StormByte::Safe::String Model () const
 Board product identifier.
StormByte::Safe::String Revision () const
 Board revision supplied by firmware.

Detailed Description

Native motherboard queries, without requiring external commands.

Firmware/VM data may be absent. Each accessor independently updates LastError; one unavailable field does not invalidate the other fields.

Constructor & Destructor Documentation

◆ Motherboard() [1/3]

StormByte::System::Host::Motherboard::Motherboard ( )
default

Construct a stateless query object without probing.

◆ Motherboard() [2/3]

StormByte::System::Host::Motherboard::Motherboard ( const Motherboard & other)
default

Copy a query object.

Parameters
otherSource query object.

◆ Motherboard() [3/3]

StormByte::System::Host::Motherboard::Motherboard ( Motherboard && other)
defaultnoexcept

Move a query object.

Parameters
otherSource query object.

◆ ~Motherboard()

StormByte::System::Host::Motherboard::~Motherboard ( )
default

Destroy a query object.

Member Function Documentation

◆ Manufacturer()

StormByte::Safe::String StormByte::System::Host::Motherboard::Manufacturer ( ) const

Board manufacturer supplied by firmware.

Returns
Manufacturer text, or empty on failure.

◆ Model()

StormByte::Safe::String StormByte::System::Host::Motherboard::Model ( ) const

Board product identifier.

Returns
Model (IOKit board-id on macOS), or empty on failure.

◆ operator=() [1/2]

Motherboard & StormByte::System::Host::Motherboard::operator= ( const Motherboard & other)
default

Copy-assign a query object.

Parameters
otherSource query object.
Returns
This object.

◆ operator=() [2/2]

Motherboard & StormByte::System::Host::Motherboard::operator= ( Motherboard && other)
defaultnoexcept

Move-assign a query object.

Parameters
otherSource query object.
Returns
This object.

◆ Revision()

StormByte::Safe::String StormByte::System::Host::Motherboard::Revision ( ) const

Board revision supplied by firmware.

Returns
Revision, or empty on failure; NotSupported on macOS.

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