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.
 
 
 
 
 
 

30 lines
956 B

#ifndef __ARGUS_MODULE_FACTORY_HEADER__
#define __ARGUS_MODULE_FACTORY_HEADER__
#include <vector>
#include "rgooseModule.h"
typedef std::vector<argusKernelModule*> vectorKernelModules;
class argusModuleFactory{
private:
basicLogCollection * m_pLog;
ARGUS_DBC * m_pDBC;
uint32_t m_nSiteID;
vectorKernelModules m_vKernelModules;
public:
static argusModuleFactory * getInstance();
virtual ~argusModuleFactory();
argusKernelModule * createModule( int id );
void deleteModule( argusKernelModule * );
void deleteModule( int id );
bool loadModules( uint32_t SiteID = 0 );
void setDBC(ARGUS_DBC * tPtr);
void validate( void );
protected:
argusModuleFactory();
private:
static argusModuleFactory * _instance;
};
#endif