There is enum in the Canbus subsystem:
enum class CanbusState {
STOPPED,
STARTING,
RUNNING,
STOPPING
};
Consider creating IService interface and SeriviceBase class, to add ServiceStatus to all services in the project along with Start(), Stop() and GetState() methods as they are currently all have that but don't rely on any central interface.
There is enum in the Canbus subsystem:
enum class CanbusState {
STOPPED,
STARTING,
RUNNING,
STOPPING
};
Consider creating IService interface and SeriviceBase class, to add ServiceStatus to all services in the project along with Start(), Stop() and GetState() methods as they are currently all have that but don't rely on any central interface.