A completely thread-safe statistics writer.
More...
#include <Statistics.h>
|
void | open (const std::string &filename) |
|
void | close () |
|
template<typename T > |
void | write (const T &data, const bool newLine=true) |
|
A completely thread-safe statistics writer.
Definition at line 10 of file Statistics.h.
void StatWriter::close |
( |
| ) |
|
|
inline |
void StatWriter::open |
( |
const std::string & |
filename | ) |
|
|
inline |
template<typename T >
void StatWriter::write |
( |
const T & |
data, |
|
|
const bool |
newLine = true |
|
) |
| |
|
inline |
std::mutex StatWriter::mutex |
std::ofstream StatWriter::out |
The documentation for this struct was generated from the following file: