| 1187 | |
| 1188 | |
| 1189 | size_t DebuggerController::RegisterEventCallback( |
| 1190 | std::function<void(const DebuggerEvent&)> callback, const std::string& name) |
| 1191 | { |
| 1192 | std::unique_lock<std::recursive_mutex> lock(m_callbackMutex); |
| 1193 | DebuggerEventCallback object; |
| 1194 | object.function = callback; |
| 1195 | object.index = m_callbackIndex++; |
| 1196 | object.name = name; |
| 1197 | m_eventCallbacks.push_back(object); |
| 1198 | return object.index; |
| 1199 | } |
| 1200 | |
| 1201 | |
| 1202 | bool DebuggerController::RemoveEventCallback(size_t index) |
no outgoing calls
no test coverage detected