24 #ifndef TSBARSDATA_HPP
25 #define TSBARSDATA_HPP
27 #include <condition_variable>
28 #include <unordered_map>
36 void addData(std::string key, std::string value);
37 std::unordered_map<std::string,std::string>
getData();
39 void modifyData(std::string key, std::string value);
44 std::condition_variable
cv;
45 std::unordered_map<std::string, std::string>
data;
Definition: TSBarsData.hpp:32
bool wait()
Definition: TSBarsData.cpp:63
void removeData(std::string key)
Definition: TSBarsData.cpp:47
std::unordered_map< std::string, std::string > data
Definition: TSBarsData.hpp:45
std::condition_variable cv
Definition: TSBarsData.hpp:44
std::mutex mutex
Definition: TSBarsData.hpp:43
~TSBarsData()
Definition: TSBarsData.cpp:30
bool dataChanged
Definition: TSBarsData.hpp:41
TSBarsData()
Definition: TSBarsData.cpp:29
std::unordered_map< std::string, std::string > getData()
Definition: TSBarsData.cpp:38
void modifyData(std::string key, std::string value)
Definition: TSBarsData.cpp:56
void addData(std::string key, std::string value)
Definition: TSBarsData.cpp:31
std::set< std::string > modifiedKeys
Definition: TSBarsData.hpp:46