Flow-IPC 1.0.1
Flow-IPC project: Public API.
|
Simple counter that manually tracks utilization. It is not thread-safe. More...
#include <use_counted_object.hpp>
Public Member Functions | |
Use_counted_object () | |
Constructor. | |
unsigned int | get_use_count () const |
Returns the current usage. More... | |
void | increment_use () |
Increments the usage. | |
void | decrement_use () |
Decrements the usage. The current count must be greater than one. | |
Simple counter that manually tracks utilization. It is not thread-safe.
unsigned int ipc::util::Use_counted_object::get_use_count | ( | ) | const |
Returns the current usage.