osmanip
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
|
This class inherits std::stringbuf and adds additional functionality and thread safety. More...
#include <sstream.hpp>
Public Member Functions | |
Stringbuf () | |
Construct a new Stringbuf object. Default constructor will set the main attributes to default values. More... | |
~Stringbuf () override | |
Destructs OutputRedirector object. Calls this->pubsync() before being destroyed. More... | |
std::mutex & | getMutex () |
Get the mutex for the object. More... | |
int32_t | sync () override |
Calls the base class sync() function. More... | |
This class inherits std::stringbuf and adds additional functionality and thread safety.
|
default |
Construct a new Stringbuf object. Default constructor will set the main attributes to default values.
|
override |
Destructs OutputRedirector object. Calls this->pubsync() before being destroyed.
std::mutex & osm::Stringbuf::getMutex | ( | ) |
Get the mutex for the object.
|
override |
Calls the base class sync() function.