Public Member Functions | Private Attributes

logging::LogThrottle Class Reference

#include <loggingLogThrottle.h>

List of all members.

Public Member Functions

 LogThrottle (int maxLogPerInterval=-1)
void configureLogging (int maxLogPerTimeInterval)
unsigned int checkPublishLogRecord ()
void updateLogCounter (unsigned int logsSent)

Private Attributes

int maxLogPerTimeInterval
unsigned int timeIntervalInMillis
unsigned long intervalTimeStartMillis
unsigned int logCounter
unsigned int curr_time

Constructor & Destructor Documentation

logging::LogThrottle::LogThrottle ( int  maxLogPerInterval = -1  ) 

Member Function Documentation

unsigned int logging::LogThrottle::checkPublishLogRecord (  ) 
void logging::LogThrottle::configureLogging ( int  maxLogPerTimeInterval  ) 
void logging::LogThrottle::updateLogCounter ( unsigned int  logsSent  ) 

Member Data Documentation

unsigned int logging::LogThrottle::curr_time [private]
unsigned int logging::LogThrottle::logCounter [private]

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