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
54 lines
1.3 KiB
#ifndef __BASICLOGGINGSERVICE_H_INCL__
|
|
#define __BASICLOGGINGSERVICE_H_INCL__
|
|
|
|
#include "basicRing.h"
|
|
|
|
#define MAX_LOG_MSG_SIZE 4096
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class basicLoggingService
|
|
{
|
|
public:
|
|
|
|
// Constructor
|
|
basicLoggingService();
|
|
|
|
// Destructor
|
|
~basicLoggingService();
|
|
|
|
virtual void logMessage(const char * Msg){ if( Msg==NULL ) Msg=NULL; };
|
|
|
|
// Copy constructor
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
// basicLoggingService(const basicLoggingService& src);
|
|
|
|
// Assignment operator
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
// basicLoggingService& operator=(const basicLoggingService& src);
|
|
};
|
|
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
// inline basicLoggingService::basicLoggingService(const basicLoggingService& src)
|
|
//{
|
|
// // TODO: copy
|
|
//}
|
|
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
// inline basicLoggingService& basicLoggingService::operator=(const basicLoggingService& rhs)
|
|
//{
|
|
// if (this == &rhs) {
|
|
// return *this;
|
|
// }
|
|
//
|
|
// // TODO: assignment
|
|
//
|
|
// return *this;
|
|
//}
|
|
typedef basicRingElement<basicLoggingService> LoggersIterator;
|
|
typedef basicRing<basicLoggingService> LoggersRing;
|
|
|
|
#endif // __BASICLOGGINGSERVICE_H_INCL__
|