MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Submit

Method Submit

IntelPresentMon/CommonUtilities/log/MsvcDebugDriver.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 pFormatter_{ std::move(pFormatter) }
11 {}
12 void MsvcDebugDriver::Submit(const Entry& e)
13 {
14 if (pFormatter_) {
15 OutputDebugStringA(pFormatter_->Format(e).c_str());
16 }
17 else {
18 pmlog_panic_("BasicFileDriver submitted to without a formatter set");
19 }
20 }
21 void MsvcDebugDriver::SetFormatter(std::shared_ptr<ITextFormatter> pFormatter)
22 {
23 pFormatter_ = std::move(pFormatter);

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.45

Tested by

no test coverage detected