18 #ifndef SDRBASE_UTIL_LIMITEDCOUNTER_H_ 19 #define SDRBASE_UTIL_LIMITEDCOUNTER_H_ 23 template<
typename StoreType, u
int32_t Limit>
32 m_counter(value < Limit ? value : Limit - 1)
friend LimitedCounter operator-(const LimitedCounter lhs, const LimitedCounter &rhs)
LimitedCounter & operator+=(const uint32_t rhs)
LimitedCounter & operator++()
LimitedCounter(StoreType value)
void operator=(const LimitedCounter &rhs)
LimitedCounter operator++(int)