CUBRID Engine  latest
cubmonitor::primitive< Rep > Class Template Reference

#include <monitor_statistic.hpp>

Inheritance diagram for cubmonitor::primitive< Rep >:
Inheritance graph
Collaboration diagram for cubmonitor::primitive< Rep >:
Collaboration graph

Public Types

using rep = Rep
 

Public Member Functions

 primitive (Rep value=Rep())
 
primitiveoperator= (const primitive &other)
 
void fetch (statistic_value *destination, fetch_mode mode=FETCH_GLOBAL) const
 
std::size_t get_statistics_count (void) const
 
Rep get_value (fetch_mode mode=FETCH_GLOBAL) const
 

Protected Member Functions

void set_value (const Rep &value)
 

Protected Attributes

Rep m_value
 

Detailed Description

template<typename Rep>
class cubmonitor::primitive< Rep >

Definition at line 128 of file monitor_statistic.hpp.

Member Typedef Documentation

template<typename Rep >
using cubmonitor::primitive< Rep >::rep = Rep

Definition at line 131 of file monitor_statistic.hpp.

Constructor & Destructor Documentation

template<typename Rep >
cubmonitor::primitive< Rep >::primitive ( Rep  value = Rep ())
inline

Definition at line 133 of file monitor_statistic.hpp.

Member Function Documentation

template<typename Rep >
std::size_t cubmonitor::primitive< Rep >::get_statistics_count ( void  ) const
inline

Definition at line 147 of file monitor_statistic.hpp.

template<typename Rep >
primitive& cubmonitor::primitive< Rep >::operator= ( const primitive< Rep > &  other)
inline
template<typename Rep >
void cubmonitor::primitive< Rep >::set_value ( const Rep &  value)
inlineprotected

Member Data Documentation


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