RTC Toolkit  2.0.0
Public Member Functions | List of all members
rtctk::componentFramework::CounterMetricInfo Class Reference

Defines auxiliary information associated with each counter registered with ComponentMetricsIf. More...

#include <componentMetricsIf.hpp>

Public Member Functions

 CounterMetricInfo (std::string id, std::string description) noexcept
 Construct instance. More...
 
std::string const & GetId () const noexcept
 
std::string const & GetDescription () const noexcept
 

Detailed Description

Defines auxiliary information associated with each counter registered with ComponentMetricsIf.

Properties:

Constructor & Destructor Documentation

◆ CounterMetricInfo()

rtctk::componentFramework::CounterMetricInfo::CounterMetricInfo ( std::string  id,
std::string  description 
)
explicitnoexcept

Construct instance.

Parameters
idcounter identifier.
descriptioncounter description.

Member Function Documentation

◆ GetDescription()

std::string const& rtctk::componentFramework::CounterMetricInfo::GetDescription ( ) const
inlinenoexcept
Returns
counter description.

◆ GetId()

std::string const& rtctk::componentFramework::CounterMetricInfo::GetId ( ) const
inlinenoexcept
Returns
counter identifier.

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