refactor: simplifying project until runs on embedded system
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include "SPITType.h"
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include "Mutex.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -27,13 +26,9 @@ class SPITObjectListener;
|
||||
class SPITObject {
|
||||
private:
|
||||
|
||||
static fos::Mutex s_MutexSPITObject;
|
||||
static unordered_map<string, SPITObject*> s_SPITObjects;
|
||||
static unordered_map<string, SPITObject*> s_SPITObjectsRemote;
|
||||
public:
|
||||
static fos::Mutex* getMutex() {
|
||||
return &s_MutexSPITObject;
|
||||
}
|
||||
static SPITObject* getSPITObject(string p_ID);
|
||||
static const SPITObject& getSPITObjectRef(string p_ID);
|
||||
static bool addSPITObject(SPITObject* p_ptrSpitObject);
|
||||
|
||||
Reference in New Issue
Block a user