µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::driver::Version Class Reference

#include <common.h>

Public Member Functions

constexpr Version () noexcept
 
 Version (const Version &)=default
 
constexpr Version (version_t api, version_t drv) noexcept
 
 ~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.
 
version_t drv_
 Driver version.
 

Detailed Description

Definition at line 104 of file common.h.

Constructor & Destructor Documentation

◆ Version() [1/3]

constexpr os::driver::Version::Version ( )
inlineconstexprnoexcept

Definition at line 140 of file common.h.

◆ Version() [2/3]

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

Definition at line 148 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 156 of file common.h.

◆ get_drv()

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

Definition at line 162 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 135 of file common.h.

◆ drv_

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

Driver version.

Definition at line 136 of file common.h.


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