MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / DebugEventsHandler

Class DebugEventsHandler

CppCoverageTest/TestTools.cpp:40–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 namespace
39 {
40 struct DebugEventsHandler : public cov::IDebugEventsHandler
41 {
42 explicit DebugEventsHandler(TestTools::T_HandlesFct action)
43 : action_(action)
44 {
45 }
46
47 virtual void OnCreateProcess(const CREATE_PROCESS_DEBUG_INFO& processInfo) override
48 {
49 action_(processInfo.hProcess, processInfo.hFile);
50 }
51
52 private:
53 TestTools::T_HandlesFct action_;
54 };
55
56 }
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected