Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
kobuki::VersionInfo Class Reference

#include <version_info.hpp>

Public Member Functions

 VersionInfo (const uint32_t &fw, const uint32_t &hw, const uint32_t udid0_, const uint32_t udid1_, const uint32_t udid2_)
 

Static Public Member Functions

static std::string getSoftwareVersion ()
 
static int majorVersion (const uint32_t &version)
 
static int minorVersion (const uint32_t &version)
 
static int patchVersion (const uint32_t &version)
 
static std::string toString (const std::vector< uint32_t > &versions)
 
static std::string toString (const uint32_t &udid0, const uint32_t &udid1, const uint32_t &udid2)
 
static std::string toString (const uint32_t &version)
 

Public Attributes

const uint32_t firmware
 
const uint32_t hardware
 
const uint32_t software
 
const uint32_t udid0
 
const uint32_t udid1
 
const uint32_t udid2
 

Detailed Description

Class holding version info for the kobuki driver.

Definition at line 45 of file version_info.hpp.

Constructor & Destructor Documentation

◆ VersionInfo()

kobuki::VersionInfo::VersionInfo ( const uint32_t &  fw,
const uint32_t &  hw,
const uint32_t  udid0_,
const uint32_t  udid1_,
const uint32_t  udid2_ 
)
inline

Definition at line 55 of file version_info.hpp.

Member Function Documentation

◆ getSoftwareVersion()

static std::string kobuki::VersionInfo::getSoftwareVersion ( )
static

◆ majorVersion()

static int kobuki::VersionInfo::majorVersion ( const uint32_t &  version)
inlinestatic

Definition at line 70 of file version_info.hpp.

◆ minorVersion()

static int kobuki::VersionInfo::minorVersion ( const uint32_t &  version)
inlinestatic

Definition at line 74 of file version_info.hpp.

◆ patchVersion()

static int kobuki::VersionInfo::patchVersion ( const uint32_t &  version)
inlinestatic

Definition at line 78 of file version_info.hpp.

◆ toString() [1/3]

static std::string kobuki::VersionInfo::toString ( const std::vector< uint32_t > &  versions)
inlinestatic

Definition at line 90 of file version_info.hpp.

◆ toString() [2/3]

static std::string kobuki::VersionInfo::toString ( const uint32_t &  udid0,
const uint32_t &  udid1,
const uint32_t &  udid2 
)
inlinestatic

Definition at line 103 of file version_info.hpp.

◆ toString() [3/3]

static std::string kobuki::VersionInfo::toString ( const uint32_t &  version)
inlinestatic

Definition at line 82 of file version_info.hpp.

Member Data Documentation

◆ firmware

const uint32_t kobuki::VersionInfo::firmware

Definition at line 63 of file version_info.hpp.

◆ hardware

const uint32_t kobuki::VersionInfo::hardware

Definition at line 64 of file version_info.hpp.

◆ software

const uint32_t kobuki::VersionInfo::software

Definition at line 65 of file version_info.hpp.

◆ udid0

const uint32_t kobuki::VersionInfo::udid0

Definition at line 66 of file version_info.hpp.

◆ udid1

const uint32_t kobuki::VersionInfo::udid1

Definition at line 67 of file version_info.hpp.

◆ udid2

const uint32_t kobuki::VersionInfo::udid2

Definition at line 68 of file version_info.hpp.


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


kobuki_driver
Author(s): Daniel Stonier , Younghun Ju , Jorge Santos Simon
autogenerated on Wed Mar 2 2022 00:26:14