Jpp  debug
the software that should make you happy
Public Member Functions | Private Attributes | List of all members
gui::hit_rate_comparator Class Reference

Public Member Functions

 hit_rate_comparator (bool reverse)
 
bool operator() (mon_channel const &first, mon_channel const &second)
 

Private Attributes

bool m_reverse
 

Detailed Description

Definition at line 836 of file gui.cpp.

Constructor & Destructor Documentation

◆ hit_rate_comparator()

gui::hit_rate_comparator::hit_rate_comparator ( bool  reverse)
inlineexplicit

Definition at line 843 of file gui.cpp.

844  :
845  m_reverse(reverse)
846  {}

Member Function Documentation

◆ operator()()

bool gui::hit_rate_comparator::operator() ( mon_channel const &  first,
mon_channel const &  second 
)
inline

Definition at line 848 of file gui.cpp.

849  {
850  return m_reverse
851  ? first.mean() < second.mean()
852  : first.mean() > second.mean();
853  }

Member Data Documentation

◆ m_reverse

bool gui::hit_rate_comparator::m_reverse
private

Definition at line 838 of file gui.cpp.


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