5 m_threadPrefix(threadPrefix+
std::to_string(threadId)+
">> ")
16 while(end != std::string::npos) {
17 ret += threadPrefix + str.substr(beg, end-beg) +
"\n";
19 end = str.find(
'\n', beg);
21 ret += threadPrefix + str.substr(beg, end);
G4int ReceiveG4cout(const G4String &coutString) override
const std::string m_threadPrefix
G4int ReceiveG4cerr(const G4String &cerrString) override
std::string trim(const std::string &str)
~CustomUIsessionThreadPrefix() override
CustomUIsessionThreadPrefix(const std::string &threadPrefix, int threadId)