µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::driver::Version Class Reference

#include <common.h>

Public Member Functions

constexpr Version () noexcept
 
constexpr Version (version_t api, version_t drv) noexcept
 
 Version (const Version &)=default
 
 ~Version () noexcept=default
 
version_t get_api (void) const noexcept
 
version_t get_drv (void) const noexcept
 
Versionoperator= (const Version &)=default
 

Private Attributes

version_t api_
 API version. More...
 
version_t drv_
 Driver version. More...
 

Detailed Description

Definition at line 92 of file common.h.

Constructor & Destructor Documentation

◆ Version() [1/3]

constexpr os::driver::Version::Version ( )
inlinenoexcept

Definition at line 128 of file common.h.

◆ Version() [2/3]

constexpr os::driver::Version::Version ( version_t  api,
version_t  drv 
)
inlinenoexcept

Definition at line 136 of file common.h.

◆ Version() [3/3]

os::driver::Version::Version ( const Version )
default

◆ ~Version()

os::driver::Version::~Version ( )
defaultnoexcept

Member Function Documentation

◆ get_api()

version_t os::driver::Version::get_api ( void  ) const
inlinenoexcept

Definition at line 144 of file common.h.

◆ get_drv()

version_t os::driver::Version::get_drv ( void  ) const
inlinenoexcept

Definition at line 150 of file common.h.

◆ operator=()

Version& os::driver::Version::operator= ( const Version )
default

Member Data Documentation

◆ api_

version_t os::driver::Version::api_
private

API version.

Definition at line 123 of file common.h.

◆ drv_

version_t os::driver::Version::drv_
private

Driver version.

Definition at line 124 of file common.h.


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