Civilization
include
shared
questionAndAnswer.hpp
1
// Generated by dia2code
2
#ifndef SHARED__QUESTIONANDANSWER__H
3
#define SHARED__QUESTIONANDANSWER__H
4
5
#include <string>
6
#include <mutex>
7
#include <condition_variable>
8
9
namespace
shared {
10
11
struct
questionAndAnswer
{
12
std::string question;
13
std::string answer;
14
bool
answerReady =
false
;
15
std::mutex sharedDataMutex;
16
std::condition_variable condition;
17
};
18
19
};
20
21
#endif
shared::questionAndAnswer
Definition:
questionAndAnswer.hpp:11
Generated by
1.9.1