logog
logger optimized for games
message.hpp
Go to the documentation of this file.
1 
5 #ifndef __LOGOG_MESSAGE_HPP__
6 #define __LOGOG_MESSAGE_HPP__
7 
8 namespace logog
9 {
10 
14 class Message : public Checkpoint
15 {
16 public:
18  const LOGOG_CHAR *sFileName = NULL,
19  const int nLineNumber = 0,
20  const LOGOG_CHAR *sGroup = NULL,
21  const LOGOG_CHAR *sCategory = NULL,
22  const LOGOG_CHAR *sMessage = NULL,
23  const double dTimestamp = 0.0f,
24  bool *bIsCreated = NULL );
25 
26  virtual ~Message();
27 
33  virtual bool Republish();
34 
37 };
38 
40 extern void DestroyMessageCreationMutex();
41 
42 }
43 
44 
45 #endif // __LOGOG_MESSAGE_HPP_
[Thread]
Definition: api.hpp:8
const LOGOG_STRING & Message() const
[Mutex]
Definition: mutex.hpp:48
#define LOGOG_LEVEL_TYPE
[Level Constants]
Definition: const.hpp:56
Definition: message.hpp:14
Mutex m_Transmitting
Definition: message.hpp:35
Mutex & GetMessageCreationMutex()
wchar_t LOGOG_CHAR
Definition: string.hpp:14
#define LOGOG_LEVEL_ALL
Definition: const.hpp:53
bool * m_pbIsCreated
Definition: message.hpp:36
virtual ~Message()
virtual bool Republish()
void DestroyMessageCreationMutex()
Definition: checkpoint.hpp:14