MCPcopy Create free account
hub / github.com/commontk/CTK / initBuffer

Method initBuffer

Libs/Core/ctkErrorLogStreamMessageHandler.cpp:117–124  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

115
116// --------------------------------------------------------------------------
117void ctkStreamHandler::initBuffer()
118{
119 Qt::HANDLE threadId = QThread::currentThreadId();
120 if (!this->StringBuffers.contains(threadId))
121 {
122 this->StringBuffers.insert(threadId, new std::string);
123 }
124}
125
126// --------------------------------------------------------------------------
127std::string* ctkStreamHandler::currentBuffer()

Callers 2

overflowMethod · 0.95
xsputnMethod · 0.95

Calls 2

containsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected