Public Member Functions | Private Attributes | List of all members
dbw_mkz_can::ModuleVersion Class Reference

#include <ModuleVersion.h>

Public Member Functions

uint16_t build () const
 
uint16_t major () const
 
uint16_t minor () const
 
 ModuleVersion ()
 
 ModuleVersion (uint16_t major, uint16_t minor, uint16_t build)
 
bool operator!= (const ModuleVersion &other) const
 
bool operator< (const ModuleVersion &other) const
 
bool operator<= (const ModuleVersion &other) const
 
bool operator== (const ModuleVersion &other) const
 
bool operator> (const ModuleVersion &other) const
 
bool operator>= (const ModuleVersion &other) const
 
bool valid () const
 

Private Attributes

union {
   struct {
      uint16_t   build_
 
      uint16_t   extra_
 
      uint16_t   major_
 
      uint16_t   minor_
 
   } 
 
   uint64_t   full
 
}; 
 

Detailed Description

Definition at line 51 of file ModuleVersion.h.

Constructor & Destructor Documentation

dbw_mkz_can::ModuleVersion::ModuleVersion ( )
inline

Definition at line 53 of file ModuleVersion.h.

dbw_mkz_can::ModuleVersion::ModuleVersion ( uint16_t  major,
uint16_t  minor,
uint16_t  build 
)
inline

Definition at line 54 of file ModuleVersion.h.

Member Function Documentation

uint16_t dbw_mkz_can::ModuleVersion::build ( ) const
inline

Definition at line 64 of file ModuleVersion.h.

uint16_t dbw_mkz_can::ModuleVersion::major ( ) const
inline

Definition at line 62 of file ModuleVersion.h.

uint16_t dbw_mkz_can::ModuleVersion::minor ( ) const
inline

Definition at line 63 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator!= ( const ModuleVersion other) const
inline

Definition at line 60 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator< ( const ModuleVersion other) const
inline

Definition at line 55 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator<= ( const ModuleVersion other) const
inline

Definition at line 57 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator== ( const ModuleVersion other) const
inline

Definition at line 59 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator> ( const ModuleVersion other) const
inline

Definition at line 56 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::operator>= ( const ModuleVersion other) const
inline

Definition at line 58 of file ModuleVersion.h.

bool dbw_mkz_can::ModuleVersion::valid ( ) const
inline

Definition at line 61 of file ModuleVersion.h.

Member Data Documentation

union { ... }
uint16_t dbw_mkz_can::ModuleVersion::build_

Definition at line 70 of file ModuleVersion.h.

uint16_t dbw_mkz_can::ModuleVersion::extra_

Definition at line 70 of file ModuleVersion.h.

uint64_t dbw_mkz_can::ModuleVersion::full

Definition at line 67 of file ModuleVersion.h.

uint16_t dbw_mkz_can::ModuleVersion::major_

Definition at line 70 of file ModuleVersion.h.

uint16_t dbw_mkz_can::ModuleVersion::minor_

Definition at line 70 of file ModuleVersion.h.


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


dbw_mkz_can
Author(s): Kevin Hallenbeck
autogenerated on Fri May 14 2021 02:47:08