Tidying
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::DEBUG_SERVER_THREAD_STATE_CHANGED;
|
||||
static inline const std::string name = "DebugServerThreadStateChanged";
|
||||
static const inline std::string name = "DebugServerThreadStateChanged";
|
||||
|
||||
explicit DebugServerThreadStateChanged(ThreadState state)
|
||||
: state(state)
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::DEBUG_SESSION_FINISHED;
|
||||
static inline const std::string name = "DebugSessionFinished";
|
||||
static const inline std::string name = "DebugSessionFinished";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return DebugSessionFinished::type;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::DEBUG_SESSION_STARTED;
|
||||
static inline const std::string name = "DebugSessionStarted";
|
||||
static const inline std::string name = "DebugSessionStarted";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return DebugSessionStarted::type;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Bloom::Events
|
||||
QDateTime createdTimestamp = DateTime::currentDateTime();
|
||||
|
||||
static constexpr EventType type = EventType::GENERIC;
|
||||
static inline const std::string name = "GenericEvent";
|
||||
static const inline std::string name = "GenericEvent";
|
||||
|
||||
Event() = default;
|
||||
virtual ~Event() = default;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Bloom::Events
|
||||
explicit InsightThreadStateChanged(ThreadState state): state(state) {};
|
||||
|
||||
static constexpr EventType type = EventType::INSIGHT_THREAD_STATE_CHANGED;
|
||||
static inline const std::string name = "InsightThreadStateChanged";
|
||||
static const inline std::string name = "InsightThreadStateChanged";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return InsightThreadStateChanged::type;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::MEMORY_WRITTEN_TO_TARGET;
|
||||
static inline const std::string name = "MemoryWrittenToTarget";
|
||||
static const inline std::string name = "MemoryWrittenToTarget";
|
||||
|
||||
Targets::TargetMemoryType memoryType;
|
||||
Targets::TargetMemoryAddress startAddress;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::PROGRAMMING_MODE_DISABLED;
|
||||
static inline const std::string name = "ProgrammingModeDisabled";
|
||||
static const inline std::string name = "ProgrammingModeDisabled";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ProgrammingModeDisabled::type;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::PROGRAMMING_MODE_ENABLED;
|
||||
static inline const std::string name = "ProgrammingModeEnabled";
|
||||
static const inline std::string name = "ProgrammingModeEnabled";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ProgrammingModeEnabled::type;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::REGISTERS_WRITTEN_TO_TARGET;
|
||||
static inline const std::string name = "RegistersWrittenToTarget";
|
||||
static const inline std::string name = "RegistersWrittenToTarget";
|
||||
|
||||
Targets::TargetRegisters registers;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::SHUTDOWN_APPLICATION;
|
||||
static inline const std::string name = "ShutdownApplicationEvent";
|
||||
static const inline std::string name = "ShutdownApplicationEvent";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ShutdownApplication::type;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::SHUTDOWN_DEBUG_SERVER;
|
||||
static inline const std::string name = "ShutdownDebugServer";
|
||||
static const inline std::string name = "ShutdownDebugServer";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ShutdownDebugServer::type;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::SHUTDOWN_TARGET_CONTROLLER;
|
||||
static inline const std::string name = "ShutdownTargetControllerEvent";
|
||||
static const inline std::string name = "ShutdownTargetControllerEvent";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ShutdownTargetController::type;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_CONTROLLER_ERROR_OCCURRED;
|
||||
static inline const std::string name = "TargetControllerErrorOccurred";
|
||||
static const inline std::string name = "TargetControllerErrorOccurred";
|
||||
|
||||
std::string errorMessage;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_CONTROLLER_STATE_CHANGED;
|
||||
static inline const std::string name = "TargetControllerStateChanged";
|
||||
static const inline std::string name = "TargetControllerStateChanged";
|
||||
|
||||
TargetController::TargetControllerState state;
|
||||
explicit TargetControllerStateChanged(TargetController::TargetControllerState state)
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_CONTROLLER_THREAD_STATE_CHANGED;
|
||||
static inline const std::string name = "TargetControllerThreadStateChanged";
|
||||
static const inline std::string name = "TargetControllerThreadStateChanged";
|
||||
|
||||
explicit TargetControllerThreadStateChanged(ThreadState state)
|
||||
: state(state)
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_EXECUTION_RESUMED;
|
||||
static inline const std::string name = "TargetExecutionResumed";
|
||||
static const inline std::string name = "TargetExecutionResumed";
|
||||
|
||||
bool stepping = false;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_EXECUTION_STOPPED;
|
||||
static inline const std::string name = "TargetExecutionStopped";
|
||||
static const inline std::string name = "TargetExecutionStopped";
|
||||
|
||||
Targets::TargetProgramCounter programCounter;
|
||||
Targets::TargetBreakCause breakCause;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Bloom::Events
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_RESET;
|
||||
static inline const std::string name = "TargetReset";
|
||||
static const inline std::string name = "TargetReset";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return TargetReset::type;
|
||||
|
||||
Reference in New Issue
Block a user