Moved TargetController components into new 'TargetController' namespace.
This commit is contained in:
@@ -351,13 +351,13 @@ namespace Bloom
|
||||
}
|
||||
|
||||
void Application::startTargetController() {
|
||||
this->targetController = std::make_unique<TargetControllerComponent>(
|
||||
this->targetController = std::make_unique<TargetController::TargetControllerComponent>(
|
||||
this->projectConfig.value(),
|
||||
this->environmentConfig.value()
|
||||
);
|
||||
|
||||
this->targetControllerThread = std::thread(
|
||||
&TargetControllerComponent::run,
|
||||
&TargetController::TargetControllerComponent::run,
|
||||
this->targetController.get()
|
||||
);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace Bloom
|
||||
* std::unique_ptr for the debug server (for polymorphism), I thought I'd keep it consistent and just use
|
||||
* std::unique_ptr for lazy loading.
|
||||
*/
|
||||
std::unique_ptr<TargetControllerComponent> targetController = nullptr;
|
||||
std::unique_ptr<TargetController::TargetControllerComponent> targetController = nullptr;
|
||||
std::thread targetControllerThread;
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
using ResponsePackets::ResponsePacket;
|
||||
|
||||
|
||||
@@ -31,6 +31,9 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
|
||||
explicit ReadMemory(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
using ResponsePackets::OkResponsePacket;
|
||||
|
||||
|
||||
@@ -31,6 +31,9 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
|
||||
explicit WriteMemory(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ResponsePacket;
|
||||
using ResponsePackets::OkResponsePacket;
|
||||
using ResponsePackets::TargetStopped;
|
||||
|
||||
@@ -46,6 +46,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
*
|
||||
* @param targetControllerConsole
|
||||
*/
|
||||
virtual void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole);
|
||||
virtual void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
using Exceptions::Exception;
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit ContinueExecution(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::TargetStopped;
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
using Exceptions::Exception;
|
||||
|
||||
@@ -17,6 +17,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
public:
|
||||
explicit InterruptExecution(const RawPacketType& rawPacket): CommandPacket(rawPacket) {}
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::EmptyResponsePacket;
|
||||
|
||||
Monitor::Monitor(const RawPacketType& rawPacket)
|
||||
|
||||
@@ -19,6 +19,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit Monitor(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using Targets::TargetRegister;
|
||||
using Targets::TargetRegisterDescriptors;
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit ReadRegisters(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using Targets::TargetBreakpoint;
|
||||
|
||||
using ResponsePackets::OkResponsePacket;
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit RemoveBreakpoint(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
using ResponsePackets::ResponsePacket;
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
public:
|
||||
explicit ResetTarget(Monitor&& monitorPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using Targets::TargetBreakpoint;
|
||||
|
||||
using ResponsePackets::OkResponsePacket;
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit SetBreakpoint(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
|
||||
using Exceptions::Exception;
|
||||
|
||||
@@ -21,6 +21,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit StepExecution(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using ResponsePackets::SupportedFeaturesResponse;
|
||||
using ResponsePackets::ErrorResponsePacket;
|
||||
|
||||
|
||||
@@ -32,7 +32,10 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
return this->supportedFeatures;
|
||||
}
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
|
||||
private:
|
||||
std::set<Feature> supportedFeatures;
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
using Targets::TargetRegister;
|
||||
using Targets::TargetRegisterDescriptors;
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
|
||||
explicit WriteRegister(const RawPacketType& rawPacket);
|
||||
|
||||
void handle(DebugSession& debugSession, TargetControllerConsole& targetControllerConsole) override;
|
||||
void handle(
|
||||
DebugSession& debugSession,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -295,7 +295,10 @@ namespace Bloom::DebugServer::Gdb
|
||||
}
|
||||
|
||||
void GdbRspDebugServer::onTargetControllerStateReported(const Events::TargetControllerStateReported& event) {
|
||||
if (event.state == TargetControllerState::SUSPENDED && this->activeDebugSession.has_value()) {
|
||||
if (
|
||||
event.state == TargetController::TargetControllerState::SUSPENDED
|
||||
&& this->activeDebugSession.has_value()
|
||||
) {
|
||||
Logger::warning("Terminating debug session - TargetController suspended unexpectedly");
|
||||
this->terminateActiveDebugSession();
|
||||
}
|
||||
|
||||
@@ -112,7 +112,9 @@ namespace Bloom::DebugServer::Gdb
|
||||
*
|
||||
* See documentation in src/DebugServer/Gdb/README.md for more on how GDB commands are processed.
|
||||
*/
|
||||
TargetControllerConsole targetControllerConsole = TargetControllerConsole(this->eventListener);
|
||||
TargetController::TargetControllerConsole targetControllerConsole = TargetController::TargetControllerConsole(
|
||||
this->eventListener
|
||||
);
|
||||
|
||||
/**
|
||||
* Listening socket address
|
||||
|
||||
@@ -13,8 +13,8 @@ namespace Bloom::Events
|
||||
static constexpr EventType type = EventType::TARGET_CONTROLLER_STATE_REPORTED;
|
||||
static inline const std::string name = "TargetControllerStateReported";
|
||||
|
||||
TargetControllerState state;
|
||||
explicit TargetControllerStateReported(TargetControllerState state): state(state) {};
|
||||
TargetController::TargetControllerState state;
|
||||
explicit TargetControllerStateReported(TargetController::TargetControllerState state): state(state) {};
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return TargetControllerStateReported::type;
|
||||
|
||||
@@ -78,7 +78,9 @@ namespace Bloom
|
||||
this->insightProjectSettings
|
||||
);
|
||||
|
||||
TargetControllerConsole targetControllerConsole = TargetControllerConsole(this->eventListener);
|
||||
TargetController::TargetControllerConsole targetControllerConsole = TargetController::TargetControllerConsole(
|
||||
this->eventListener
|
||||
);
|
||||
|
||||
/**
|
||||
* Insight consists of two threads - the main thread where the main Qt event loop runs (for the GUI), and
|
||||
|
||||
@@ -119,12 +119,16 @@ namespace Bloom
|
||||
}
|
||||
|
||||
void InsightWorker::onTargetControllerStateReportedEvent(const Events::TargetControllerStateReported& event) {
|
||||
if (this->lastTargetControllerState == TargetControllerState::ACTIVE
|
||||
using TargetController::TargetControllerState;
|
||||
|
||||
if (
|
||||
this->lastTargetControllerState == TargetControllerState::ACTIVE
|
||||
&& event.state == TargetControllerState::SUSPENDED
|
||||
) {
|
||||
emit this->targetControllerSuspended();
|
||||
|
||||
} else if (this->lastTargetControllerState == TargetControllerState::SUSPENDED
|
||||
} else if (
|
||||
this->lastTargetControllerState == TargetControllerState::SUSPENDED
|
||||
&& event.state == TargetControllerState::ACTIVE
|
||||
) {
|
||||
try {
|
||||
|
||||
@@ -49,8 +49,11 @@ namespace Bloom
|
||||
private:
|
||||
EventListenerPointer eventListener = std::make_shared<EventListener>("InsightWorkerEventListener");
|
||||
|
||||
TargetControllerConsole targetControllerConsole = TargetControllerConsole(*(this->eventListener));
|
||||
TargetControllerState lastTargetControllerState = TargetControllerState::ACTIVE;
|
||||
TargetController::TargetControllerConsole targetControllerConsole = TargetController::TargetControllerConsole(
|
||||
*(this->eventListener)
|
||||
);
|
||||
TargetController::TargetControllerState lastTargetControllerState =
|
||||
TargetController::TargetControllerState::ACTIVE;
|
||||
|
||||
QTimer* eventDispatchTimer = nullptr;
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void InsightWorkerTask::execute(TargetControllerConsole& targetControllerConsole) {
|
||||
try {
|
||||
this->state = InsightWorkerTaskState::STARTED;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Bloom
|
||||
|
||||
InsightWorkerTask(): QObject(nullptr) {};
|
||||
|
||||
void execute(TargetControllerConsole& targetControllerConsole);
|
||||
void execute(TargetController::TargetControllerConsole& targetControllerConsole);
|
||||
|
||||
signals:
|
||||
void started();
|
||||
@@ -32,6 +32,6 @@ namespace Bloom
|
||||
void completed();
|
||||
|
||||
protected:
|
||||
virtual void run(TargetControllerConsole& targetControllerConsole) = 0;
|
||||
virtual void run(TargetController::TargetControllerConsole& targetControllerConsole) = 0;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void QueryLatestVersionNumber::run(TargetControllerConsole& targetControllerConsole) {
|
||||
auto* networkAccessManager = new QNetworkAccessManager(this);
|
||||
auto queryVersionEndpointUrl = QUrl(QString::fromStdString(Paths::homeDomainName() + "/latest-version"));
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Bloom
|
||||
void latestVersionNumberRetrieved(const VersionNumber& latestVersionNumber);
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
VersionNumber currentVersionNumber;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void ReadStackPointer::run(TargetControllerConsole& targetControllerConsole) {
|
||||
emit this->stackPointerRead(targetControllerConsole.getStackPointer());
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@ namespace Bloom
|
||||
void stackPointerRead(std::uint32_t stackPointer);
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void ReadTargetMemory::run(TargetControllerConsole& targetControllerConsole) {
|
||||
emit this->targetMemoryRead(
|
||||
targetControllerConsole.readMemory(
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace Bloom
|
||||
void targetMemoryRead(Targets::TargetMemoryBuffer buffer);
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
Targets::TargetMemoryType memoryType;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void ReadTargetRegisters::run(TargetControllerConsole& targetControllerConsole) {
|
||||
emit this->targetRegistersRead(targetControllerConsole.readRegisters(this->descriptors));
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Bloom
|
||||
void targetRegistersRead(Targets::TargetRegisters registers);
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
Targets::TargetRegisterDescriptors descriptors;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void RefreshTargetPinStates::run(TargetControllerConsole& targetControllerConsole) {
|
||||
emit this->targetPinStatesRetrieved(targetControllerConsole.getPinStates(this->variantId));
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Bloom
|
||||
void targetPinStatesRetrieved(Bloom::Targets::TargetPinStateMappingType pinStatesByNumber);
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
int variantId;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void SetTargetPinState::run(TargetControllerConsole& targetControllerConsole) {
|
||||
targetControllerConsole.setPinState(this->pinDescriptor, this->pinState);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Bloom
|
||||
pinDescriptor(pinDescriptor), pinState(pinState) {}
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
Targets::TargetPinDescriptor pinDescriptor;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bloom
|
||||
{
|
||||
using TargetController::TargetControllerConsole;
|
||||
|
||||
void WriteTargetRegister::run(TargetControllerConsole& targetControllerConsole) {
|
||||
targetControllerConsole.writeRegisters({this->targetRegister});
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Bloom
|
||||
explicit WriteTargetRegister(const Targets::TargetRegister& targetRegister): targetRegister(targetRegister) {}
|
||||
|
||||
protected:
|
||||
void run(TargetControllerConsole& targetControllerConsole) override;
|
||||
void run(TargetController::TargetControllerConsole& targetControllerConsole) override;
|
||||
|
||||
private:
|
||||
Targets::TargetRegister targetRegister;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "src/Exceptions/TargetControllerStartupFailure.hpp"
|
||||
#include "src/Exceptions/InvalidConfig.hpp"
|
||||
|
||||
namespace Bloom
|
||||
namespace Bloom::TargetController
|
||||
{
|
||||
using namespace Bloom::Targets;
|
||||
using namespace Bloom::Events;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "src/EventManager/EventListener.hpp"
|
||||
#include "src/EventManager/Events/Events.hpp"
|
||||
|
||||
namespace Bloom
|
||||
namespace Bloom::TargetController
|
||||
{
|
||||
/**
|
||||
* The TargetController possesses full control of the debugging target and the debug tool.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "src/EventManager/Events/Events.hpp"
|
||||
#include "src/Logger/Logger.hpp"
|
||||
|
||||
namespace Bloom
|
||||
namespace Bloom::TargetController
|
||||
{
|
||||
using namespace Bloom::Targets;
|
||||
using namespace Bloom::Events;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom
|
||||
namespace Bloom::TargetController
|
||||
{
|
||||
/**
|
||||
* The TargetControllerConsole provides an interface to the TargetController.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace Bloom
|
||||
namespace Bloom::TargetController
|
||||
{
|
||||
enum class TargetControllerState: std::uint8_t
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user