This commit is contained in:
Nav
2022-05-02 13:38:03 +01:00
parent 6e8abaeeb7
commit d0ca05f9e9

View File

@@ -16,6 +16,8 @@
#include "src/Helpers/SyncSafe.hpp" #include "src/Helpers/SyncSafe.hpp"
#include "src/Helpers/ConditionVariableNotifier.hpp" #include "src/Helpers/ConditionVariableNotifier.hpp"
#include "TargetControllerState.hpp"
// Commands // Commands
#include "Commands/Command.hpp" #include "Commands/Command.hpp"
#include "Commands/GetTargetDescriptor.hpp" #include "Commands/GetTargetDescriptor.hpp"
@@ -46,8 +48,6 @@
#include "Responses/TargetStackPointer.hpp" #include "Responses/TargetStackPointer.hpp"
#include "Responses/TargetProgramCounter.hpp" #include "Responses/TargetProgramCounter.hpp"
#include "TargetControllerState.hpp"
#include "src/DebugToolDrivers/DebugTools.hpp" #include "src/DebugToolDrivers/DebugTools.hpp"
#include "src/Targets/Target.hpp" #include "src/Targets/Target.hpp"
#include "src/Targets/Targets.hpp" #include "src/Targets/Targets.hpp"
@@ -320,6 +320,7 @@ namespace Bloom::TargetController
*/ */
void onDebugSessionFinishedEvent(const Events::DebugSessionFinished& event); void onDebugSessionFinishedEvent(const Events::DebugSessionFinished& event);
// Command handlers
std::unique_ptr<Responses::TargetDescriptor> handleGetTargetDescriptor(Commands::GetTargetDescriptor& command); std::unique_ptr<Responses::TargetDescriptor> handleGetTargetDescriptor(Commands::GetTargetDescriptor& command);
std::unique_ptr<Responses::TargetState> handleGetTargetState(Commands::GetTargetState& command); std::unique_ptr<Responses::TargetState> handleGetTargetState(Commands::GetTargetState& command);
std::unique_ptr<Responses::Response> handleStopTargetExecution(Commands::StopTargetExecution& command); std::unique_ptr<Responses::Response> handleStopTargetExecution(Commands::StopTargetExecution& command);