#include <utilities.hh>
◆ Ptr
◆ Count()
| Count::Count |
( |
std::string |
name | ) |
|
|
explicitprivate |
35 :
name(std::move(name_))
36
37{
38}
const std::string name
Definition utilities.hh:137
◆ create()
| Count::Ptr Count::create |
( |
const std::string & |
name | ) |
|
|
static |
41{
45}
Definition utilities.hh:132
std::shared_ptr< Count > Ptr
Definition utilities.hh:134
static Counter * instance()
Definition counter.cc:49
void registerCount(const Count::Ptr &count)
Definition counter.cc:57
SampleIterator< const uint8_t > result
Definition sampleiterator-tests.cc:94
Referenced by Scroom::Utils::Counted< C >::count_instance().
◆ dec()
| void Scroom::Utils::Count::dec |
( |
| ) |
|
|
inline |
151 {
152 boost::unique_lock<boost::mutex>
const lock(
mut);
155 }
void ping()
Definition utilities.hh:143
long count
Definition utilities.hh:139
boost::mutex mut
Definition utilities.hh:138
◆ inc()
| void Scroom::Utils::Count::inc |
( |
| ) |
|
|
inline |
145 {
146 boost::unique_lock<boost::mutex>
const lock(
mut);
149 }
◆ ping()
| void Scroom::Utils::Count::ping |
( |
| ) |
|
|
inline |
◆ count
| long Scroom::Utils::Count::count {0} |
◆ mut
| boost::mutex Scroom::Utils::Count::mut |
◆ name
| const std::string Scroom::Utils::Count::name |
The documentation for this class was generated from the following files: