| globjects 1.0.0.000000000000 Strict OpenGL objects wrapper.

LogMessage.h
Go to the documentation of this file.
1
2 #pragma once
3
4 #include <string>
5
6 #include <globjects/globjects_api.h>
7
8 #include <globjects/base/LogMessageLevel.h>
9
10
11 namespace globjects
12 {
13
14
23 class GLOBJECTS_API LogMessage
24 {
25 public:
26 LogMessage(LogMessageLevel level, const std::string & message);
27
28 LogMessageLevel level() const;
29 const std::string & message() const;
30
31 protected:
32 LogMessageLevel m_level;
33 std::string m_message;
34 };
35
36
37 } // namespace globjects
globjects::LogMessage::m_level
LogMessageLevel m_level
Definition: LogMessage.h:32
globjects
Contains all the classes that wrap OpenGL functionality.
globjects::LogMessageLevel
LogMessageLevel
Definition: LogMessageLevel.h:9
globjects::LogMessage
Encapsulates a simple log message and its severity level.
Definition: LogMessage.h:23
LogMessageLevel.h
globjects::LogMessage::m_message
std::string m_message
Definition: LogMessage.h:33