RTI Connext Modern C++ API  Version 6.1.0
rti::core::ProductVersion Class Reference

<<extension>> <<value-type>> Represents the current version of RTI Connext More...

#include <rti/core/ProductVersion.hpp>

Public Member Functions

 ProductVersion ()
 Creates the unknown() product version. More...
 
std::string to_string () const
 Get the product version as a string. More...
 
uint8_t major_version () const
 Get the major product version. More...
 
uint8_t minor_version () const
 Get the minor product version. More...
 
uint8_t release_version () const
 Get the release letter for product version. More...
 
uint8_t revision_version () const
 Get the revision number of product. More...
 

Static Public Member Functions

static ProductVersion current ()
 Returns the current version of RTI Connext. More...
 
static ProductVersion unknown ()
 Returns the value to indicate that the version is unknown. More...
 

Detailed Description

<<extension>> <<value-type>> Represents the current version of RTI Connext

Constructor & Destructor Documentation

◆ ProductVersion()

rti::core::ProductVersion::ProductVersion ( )
inline

Creates the unknown() product version.

Member Function Documentation

◆ to_string()

std::string rti::core::ProductVersion::to_string ( ) const
inline

Get the product version as a string.

◆ major_version()

uint8_t rti::core::ProductVersion::major_version ( ) const
inline

Get the major product version.

◆ minor_version()

uint8_t rti::core::ProductVersion::minor_version ( ) const
inline

Get the minor product version.

◆ release_version()

uint8_t rti::core::ProductVersion::release_version ( ) const
inline

Get the release letter for product version.

◆ revision_version()

uint8_t rti::core::ProductVersion::revision_version ( ) const
inline

Get the revision number of product.

◆ current()

static ProductVersion rti::core::ProductVersion::current ( )
inlinestatic

Returns the current version of RTI Connext.

◆ unknown()

static ProductVersion rti::core::ProductVersion::unknown ( )
inlinestatic

Returns the value to indicate that the version is unknown.