MCPcopy Create free account
hub / github.com/Kitware/CMake / event

Method event

Utilities/cmcppdap/src/session.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215
216 std::pair<const dap::TypeInfo*, GenericEventHandler> event(
217 const std::string& name) {
218 std::unique_lock<std::mutex> lock(eventMutex);
219 auto it = eventMap.find(name);
220 return (it != eventMap.end()) ? it->second : decltype(it->second){};
221 }
222
223 void put(const dap::TypeInfo* typeinfo,
224 const GenericEventHandler& handler) {

Callers 1

processEventMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected