#include <tick_engine.h>
Public Member Functions | |
void | Tick () |
TickEngine (int initial_value) | |
void | Wait () |
~TickEngine () | |
Private Attributes | |
std::condition_variable | condition_variable_ |
std::mutex | mutex_ |
int | value_ |
Definition at line 18 of file tick_engine.h.
TickEngine::TickEngine | ( | int | initial_value | ) | [explicit] |
Definition at line 15 of file tick_engine.cpp.
Definition at line 20 of file tick_engine.cpp.
void TickEngine::Tick | ( | ) |
Definition at line 35 of file tick_engine.cpp.
void TickEngine::Wait | ( | ) |
Definition at line 22 of file tick_engine.cpp.
std::condition_variable TickEngine::condition_variable_ [private] |
Definition at line 23 of file tick_engine.h.
std::mutex TickEngine::mutex_ [private] |
Definition at line 22 of file tick_engine.h.
int TickEngine::value_ [private] |
Definition at line 21 of file tick_engine.h.