Public Member Functions | Private Attributes | List of all members
dataspeed_can_usb::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

dataspeed_can_usb::ModuleVersion::ModuleVersion ( )
inline

Definition at line 53 of file ModuleVersion.h.

dataspeed_can_usb::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 dataspeed_can_usb::ModuleVersion::build ( ) const
inline

Definition at line 69 of file ModuleVersion.h.

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

Definition at line 67 of file ModuleVersion.h.

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

Definition at line 68 of file ModuleVersion.h.

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

Definition at line 65 of file ModuleVersion.h.

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

Definition at line 60 of file ModuleVersion.h.

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

Definition at line 62 of file ModuleVersion.h.

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

Definition at line 64 of file ModuleVersion.h.

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

Definition at line 61 of file ModuleVersion.h.

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

Definition at line 63 of file ModuleVersion.h.

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

Definition at line 66 of file ModuleVersion.h.

Member Data Documentation

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

Definition at line 75 of file ModuleVersion.h.

uint16_t dataspeed_can_usb::ModuleVersion::extra_

Definition at line 75 of file ModuleVersion.h.

uint64_t dataspeed_can_usb::ModuleVersion::full

Definition at line 72 of file ModuleVersion.h.

uint16_t dataspeed_can_usb::ModuleVersion::major_

Definition at line 75 of file ModuleVersion.h.

uint16_t dataspeed_can_usb::ModuleVersion::minor_

Definition at line 75 of file ModuleVersion.h.


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


dataspeed_can_usb
Author(s): Kevin Hallenbeck
autogenerated on Thu Jul 9 2020 03:42:00