MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / addReporter

Method addReporter

tests/catch.hpp:13960–13964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13958 }
13959
13960 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
13961 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
13962 m_reporter = std::move( reporter );
13963 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
13964 }
13965
13966 ReporterPreferences ListeningReporter::getPreferences() const {
13967 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected