MCPcopy Create free account
hub / github.com/Norbyte/ositools / SetMessageHandler

Method SetMessageHandler

OsiInterface/DebugInterface.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void DebugInterface::SetMessageHandler(
48 std::function<bool(DebuggerToBackend const *)> messageHandler,
49 std::function<void()> connectHandler,
50 std::function<void()> disconnectHandler)
51 {
52 messageHandler_ = messageHandler;
53 connectHandler_ = connectHandler;
54 disconnectHandler_ = disconnectHandler;
55 }
56
57 bool DebugInterface::IsConnected() const
58 {

Callers 1

DebugMessageHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected