Tidied structure of all classes within the entire code base

Also some other small bits of tidying
This commit is contained in:
Nav
2021-10-06 21:12:31 +01:00
parent 1aef5bba79
commit 6edfb7376a
179 changed files with 3446 additions and 3493 deletions

View File

@@ -29,18 +29,11 @@ namespace Bloom::Targets
*/
class Target
{
protected:
/**
* Target related configuration provided by the user. This is passed in via the first stage of target
* configuration. See Target::preActivationConfigure() for more.
*/
TargetConfig config;
bool activated = false;
public:
explicit Target() = default;
virtual ~Target() = default;
bool isActivated() const {
return this->activated;
}
@@ -300,6 +293,13 @@ namespace Bloom::Targets
const TargetPinState& state
) = 0;
virtual ~Target() = default;
protected:
/**
* Target related configuration provided by the user. This is passed in via the first stage of target
* configuration. See Target::preActivationConfigure() for more.
*/
TargetConfig config;
bool activated = false;
};
}