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.

54 lines
1.3 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __BASICLOGGINGSERVICE_H_INCL__
  2. #define __BASICLOGGINGSERVICE_H_INCL__
  3. #include "basicRing.h"
  4. #define MAX_LOG_MSG_SIZE 4096
  5. /**
  6. * TODO: Add class description
  7. *
  8. * @author Gagua
  9. */
  10. class basicLoggingService
  11. {
  12. public:
  13. // Constructor
  14. basicLoggingService();
  15. // Destructor
  16. ~basicLoggingService();
  17. virtual void logMessage(const char * Msg){ if( Msg==NULL ) Msg=NULL; };
  18. // Copy constructor
  19. // TODO: Uncomment the copy constructor when you need it.
  20. // basicLoggingService(const basicLoggingService& src);
  21. // Assignment operator
  22. // TODO: Uncomment the assignment operator when you need it.
  23. // basicLoggingService& operator=(const basicLoggingService& src);
  24. };
  25. // TODO: Uncomment the copy constructor when you need it.
  26. // inline basicLoggingService::basicLoggingService(const basicLoggingService& src)
  27. //{
  28. // // TODO: copy
  29. //}
  30. // TODO: Uncomment the assignment operator when you need it.
  31. // inline basicLoggingService& basicLoggingService::operator=(const basicLoggingService& rhs)
  32. //{
  33. // if (this == &rhs) {
  34. // return *this;
  35. // }
  36. //
  37. // // TODO: assignment
  38. //
  39. // return *this;
  40. //}
  41. typedef basicRingElement<basicLoggingService> LoggersIterator;
  42. typedef basicRing<basicLoggingService> LoggersRing;
  43. #endif // __BASICLOGGINGSERVICE_H_INCL__