You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
#ifndef __ARGOOSE_HARDWARE_MANAGER_HEADER__
|
|
#define __ARGOOSE_HARDWARE_MANAGER_HEADER__
|
|
|
|
#include "../components/base/basicLogCollection.h"
|
|
#include "rgooseHardwareResource.h"
|
|
|
|
class argusKernel;
|
|
class argusDBC;
|
|
|
|
class argusHardwareManager{
|
|
private:
|
|
argusKernel * m_pKernel;
|
|
argusDBC * m_pDBC;
|
|
basicLogCollection * m_pLog;
|
|
VECTOR_HW_RESOURCES m_vResources;
|
|
bool m_bHardwareEnumerated;
|
|
void loadResources( void );
|
|
void enumerateHardware( void );
|
|
public:
|
|
virtual ~argusHardwareManager();
|
|
static argusHardwareManager * getInstance( void );
|
|
void validate( void );
|
|
argusHardwareResource * getUart( uint32_t SocketId );
|
|
private:
|
|
static argusHardwareManager * _instance;
|
|
argusHardwareManager();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|