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

#include <cStream.h>

Public Member Functions

 cStreamStat () noexcept
 
void ResetStat () noexcept
 
void UpdateStat (size_t n) noexcept
 
void Add (const cStreamStat &n) noexcept
 

Public Attributes

STREAM_POS_t m_nCount
 Keep arbitrary stats on how much i move (bytes). More...
 
cTimeSys m_tLast
 When did i last move data? More...
 

Detailed Description

track how much data is read or written and when.

Constructor & Destructor Documentation

◆ cStreamStat()

Gray::cStreamStat::cStreamStat ( )
inlinenoexcept

Member Function Documentation

◆ Add()

void Gray::cStreamStat::Add ( const cStreamStat n)
inlinenoexcept

◆ ResetStat()

void Gray::cStreamStat::ResetStat ( )
inlinenoexcept

< Keep arbitrary stats on how much i TX/RX.

◆ UpdateStat()

void Gray::cStreamStat::UpdateStat ( size_t  n)
inlinenoexcept

Member Data Documentation

◆ m_nCount

STREAM_POS_t Gray::cStreamStat::m_nCount

Keep arbitrary stats on how much i move (bytes).

◆ m_tLast

cTimeSys Gray::cStreamStat::m_tLast

When did i last move data?


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