MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetSources

Method GetSources

DebugView++Lib/LogSources.cpp:98–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98std::vector<LogSource*> LogSources::GetSources() const
99{
100 assert(m_executor.IsExecutorThread());
101 std::vector<LogSource*> sources;
102 std::lock_guard<std::mutex> lock(m_mutex);
103 for (auto& pSource : m_sources)
104 {
105 if (!dynamic_cast<Loopback*>(pSource.get()))
106 sources.push_back(pSource.get());
107 }
108 return sources;
109}
110
111void LogSources::SetAutoNewLine(bool value)
112{

Callers 1

OnSourcesMethod · 0.80

Calls 1

IsExecutorThreadMethod · 0.45

Tested by

no test coverage detected