| 
    nidas v1.2.3
    
   | 
 
A source of samples. More...
#include <SampleStats.h>
Public Member Functions | |
| SampleStats () | |
| long long | getNumBytes () const | 
| void | addNumBytes (int n) | 
| size_t | getNumSamples () const | 
| void | addNumSamples (int n) | 
| dsm_time_t | getLastTimeTag () const | 
| void | setLastTimeTag (dsm_time_t val) | 
Private Attributes | |
| long long | _nbytes | 
| dsm_time_t | _lastTT | 
| size_t | _nsamples | 
A source of samples.
A SampleSource maintains a list of SampleClients. When a SampleSource has a Sample ready, it will call the receive method of all its SampleClients. SampleClients register/unregister with a SampleSource via the addSampleClient/removeSampleClient methods.
      
  | 
  inline | 
References _nbytes, and nidas::core::getSample().
References _nsamples, and nidas::core::getSample().
      
  | 
  inline | 
References _lastTT.
Referenced by nidas::dynld::RawSampleService::printClock(), and nidas::dynld::RawSampleService::printStatus().
      
  | 
  inline | 
References _lastTT, and nidas::core::getSample().
      
  | 
  private | 
Referenced by getLastTimeTag(), and setLastTimeTag().
Referenced by addNumBytes(), and getNumBytes().
      
  | 
  private | 
Referenced by addNumSamples(), and getNumSamples().