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

6 years ago
6 years ago
6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
6 years ago
​
​
  1. #include "rgooseModule.h"
  2. #include "rgooseKernel.h"
  3. argusKernelModule::argusKernelModule( uint32_t id, ARGUS_MODULE_TYPE param ):basicObject(){
  4. m_pLog = basicLogCollection::getInstance();
  5. m_pDBC = argusDBC::getInstance();
  6. m_pKernel = argusKernel::getInstance();
  7. m_eType = param;
  8. m_nDBID = id;
  9. m_bDetached = false;
  10. m_nDBAUXID = 0;
  11. // Clear Events flags
  12. if( m_pDBC ) {
  13. DBC_MODULE_DATA *tData = NULL;
  14. tData = m_pDBC->getModuleData( m_nDBID );
  15. if( tData ) {
  16. m_nDBAUXID = tData->aux_id;
  17. free( tData );
  18. };
  19. };
  20. for( int i = 0; i < MAX_EVENT_ID; i++ ) m_bEvtFlags[i] = false;
  21. };
  22. argusKernelModule::~argusKernelModule(){
  23. };