mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
* Clean up sensorbuilder * Join namespaces declarations * Formatting * Change around defines * Add missing include * Change primary/secondary logic to booleans * Formatting * Undo defines changes * Fix messed up code * Fix some compiler warnings * Formatting * Update src/sensorinterface/i2cimpl.h Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com> * Send BMI firmware to progmem * Formattign * Rework getRegisterInterface logic
22 lines
426 B
C++
22 lines
426 B
C++
#ifndef STATUS_STATUSMANAGER_H
|
|
#define STATUS_STATUSMANAGER_H
|
|
|
|
#include "Status.h"
|
|
#include "logging/Logger.h"
|
|
|
|
namespace SlimeVR::Status {
|
|
class StatusManager {
|
|
public:
|
|
void setStatus(Status status, bool value);
|
|
bool hasStatus(Status status);
|
|
uint32_t getStatus() { return m_Status; };
|
|
|
|
private:
|
|
uint32_t m_Status;
|
|
|
|
Logging::Logger m_Logger = Logging::Logger("StatusManager");
|
|
};
|
|
} // namespace SlimeVR::Status
|
|
|
|
#endif
|