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.

25 lines
720 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #include "rgooseHardwareResourceNetwork.h"
  2. #define LOG( X ) m_pLog->Log( "HW_NET", this, X )
  3. #ifdef DEBUG
  4. #define LOG_ERROR( X ) {\
  5. char _tBfrErrMSG2w34[256];\
  6. sprintf( _tBfrErrMSG2w34, "In file %s[%d] in func:%s %s",__FILE__, __LINE__, __func__, X );\
  7. m_pLog->Log( "HW_NET", this, _LOG_ERROR, _tBfrErrMSG2w34 );\
  8. }
  9. #else
  10. #define LOG_ERROR( X ) m_pLog->Log( "HW_NET", this, _LOG_ERROR, X );
  11. #endif
  12. argusHardwareResourceNetwork::argusHardwareResourceNetwork( uint32_t id ):argusHardwareResource( id, HARDWARE_NETWORK ){
  13. };
  14. argusHardwareResourceNetwork::~argusHardwareResourceNetwork(){
  15. };
  16. #undef LOG
  17. #undef LOG_ERROR