recordValue< T > Class Template Reference

#include <RobotAPI/libraries/armem_system_state/server/LightweightSystemMonitor/util/record_value.hpp>

Public Member Functions

void addRecord (const T &rec)
 
T getAverageRecord () const
 
T getMaxRecord () const
 
T getMinRecord () const
 
std::vector< TgetRecordContainer () const
 
 recordValue ()=delete
 
 recordValue (std::chrono::system_clock::duration observTime, std::chrono::system_clock::duration upDateTime)
 
 recordValue (uint64_t stepSize_)
 
 ~recordValue ()=default
 

Detailed Description

template<typename T>
class recordValue< T >

Author
: Daniel Fuchs @contact: fuxey.nosp@m.solu.nosp@m.tions.nosp@m.@gma.nosp@m.il.co.nosp@m.m

distributed under the MIT License (MIT). Copyright (c) Daniel Fuchs

Definition at line 19 of file record_value.hpp.

Constructor & Destructor Documentation

◆ recordValue() [1/3]

recordValue ( std::chrono::system_clock::duration  observTime,
std::chrono::system_clock::duration  upDateTime 
)
inline

Definition at line 22 of file record_value.hpp.

+ Here is the call graph for this function:

◆ recordValue() [2/3]

recordValue ( uint64_t  stepSize_)
inlineexplicit

Definition at line 34 of file record_value.hpp.

◆ recordValue() [3/3]

recordValue ( )
delete

◆ ~recordValue()

~recordValue ( )
default

Member Function Documentation

◆ addRecord()

void addRecord ( const T rec)
inline

Definition at line 43 of file record_value.hpp.

◆ getAverageRecord()

T getAverageRecord ( ) const
inline

Definition at line 62 of file record_value.hpp.

◆ getMaxRecord()

T getMaxRecord ( ) const
inline

Definition at line 58 of file record_value.hpp.

◆ getMinRecord()

T getMinRecord ( ) const
inline

Definition at line 54 of file record_value.hpp.

◆ getRecordContainer()

std::vector<T> getRecordContainer ( ) const
inline

Definition at line 67 of file record_value.hpp.


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