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.
27 lines
741 B
27 lines
741 B
#include "rgooseModule.h"
|
|
#include "rgooseKernel.h"
|
|
|
|
argusKernelModule::argusKernelModule( uint32_t id, ARGUS_MODULE_TYPE param ):basicObject(){
|
|
m_pLog = basicLogCollection::getInstance();
|
|
m_pDBC = argusDBC::getInstance();
|
|
m_pKernel = argusKernel::getInstance();
|
|
m_eType = param;
|
|
m_nDBID = id;
|
|
m_bDetached = false;
|
|
m_nDBAUXID = 0;
|
|
// Clear Events flags
|
|
if( m_pDBC ) {
|
|
DBC_MODULE_DATA *tData = NULL;
|
|
tData = m_pDBC->getModuleData( m_nDBID );
|
|
if( tData ) {
|
|
m_nDBAUXID = tData->aux_id;
|
|
free( tData );
|
|
};
|
|
};
|
|
for( int i = 0; i < MAX_EVENT_ID; i++ ) m_bEvtFlags[i] = false;
|
|
};
|
|
|
|
argusKernelModule::~argusKernelModule(){
|
|
|
|
};
|
|
|