Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cLogThrottle Class Reference

#include <cLogAppender.h>

Public Member Functions

 cLogThrottle ()
 
 ~cLogThrottle ()
 
float get_LogThrottle () const
 

Public Attributes

float m_fLogThrottle
 how fast sent to me? messages/sec More...
 
TIMESYS_t m_TimeLogLast
 Last time period for throttling (1 sec). More...
 
UINT m_nQtyLogLast
 Qty of messages since m_TimeLogLast. More...
 

Detailed Description

Parameters for time throttle of log messages. Queue messages up if they are coming too fast.

Constructor & Destructor Documentation

◆ cLogThrottle()

Gray::cLogThrottle::cLogThrottle ( )

◆ ~cLogThrottle()

Gray::cLogThrottle::~cLogThrottle ( )

Member Function Documentation

◆ get_LogThrottle()

float Gray::cLogThrottle::get_LogThrottle ( ) const
inline

messages/sec

Member Data Documentation

◆ m_fLogThrottle

float Gray::cLogThrottle::m_fLogThrottle

how fast sent to me? messages/sec

◆ m_nQtyLogLast

UINT Gray::cLogThrottle::m_nQtyLogLast
mutable

Qty of messages since m_TimeLogLast.

◆ m_TimeLogLast

TIMESYS_t Gray::cLogThrottle::m_TimeLogLast
mutable

Last time period for throttling (1 sec).


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