µ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 88 of file common.h.

Constructor & Destructor Documentation

◆ Version() [1/3]

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

Definition at line 124 of file common.h.

◆ Version() [2/3]

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

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

◆ get_drv()

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

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

◆ drv_

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

Driver version.

Definition at line 120 of file common.h.


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