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.

52 lines
1.3 KiB

7 years ago
​
​
​
​
​
​
7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. public:
  12. // Constructor
  13. basicLoggingService();
  14. // Destructor
  15. ~basicLoggingService();
  16. virtual void logMessage( const char *Msg ){};
  17. // Copy constructor
  18. // TODO: Uncomment the copy constructor when you need it.
  19. //basicLoggingService(const basicLoggingService& src);
  20. // Assignment operator
  21. // TODO: Uncomment the assignment operator when you need it.
  22. //basicLoggingService& operator=(const basicLoggingService& src);
  23. };
  24. // TODO: Uncomment the copy constructor when you need it.
  25. //inline basicLoggingService::basicLoggingService(const basicLoggingService& src)
  26. //{
  27. // // TODO: copy
  28. //}
  29. // TODO: Uncomment the assignment operator when you need it.
  30. //inline basicLoggingService& basicLoggingService::operator=(const basicLoggingService& rhs)
  31. //{
  32. // if (this == &rhs) {
  33. // return *this;
  34. // }
  35. //
  36. // // TODO: assignment
  37. //
  38. // return *this;
  39. //}
  40. typedef basicRingElement< basicLoggingService > LoggersIterator;
  41. typedef basicRing< basicLoggingService > LoggersRing;
  42. #endif // __BASICLOGGINGSERVICE_H_INCL__