Tervel  1.0.0
A collection of wait-free containers and algorithms.
Public Member Functions | Private Attributes | List of all members
tervel::util::ProgressAssurance::Limit Class Reference

#include <progress_assurance.h>

Public Member Functions

 Limit (size_t limit=TERVEL_PROG_ASSUR_LIMIT)
 
bool isDelayed (size_t val=1)
 
void reset (size_t limit=TERVEL_PROG_ASSUR_LIMIT)
 

Private Attributes

size_t counter_
 

Constructor & Destructor Documentation

tervel::util::ProgressAssurance::Limit::Limit ( size_t  limit = TERVEL_PROG_ASSUR_LIMIT)
inlineexplicit

Member Function Documentation

bool tervel::util::ProgressAssurance::Limit::isDelayed ( size_t  val = 1)
inline
void tervel::util::ProgressAssurance::Limit::reset ( size_t  limit = TERVEL_PROG_ASSUR_LIMIT)
inline

Member Data Documentation

size_t tervel::util::ProgressAssurance::Limit::counter_
private

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