 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
53 std::string pop(
int levelMask = ALL_LEVELS);
67 bool empty(
int levelMask = ALL_LEVELS)
const;
73 void clear(
int levelMask = ALL_LEVELS);
79 void setEnable(
bool flag);
84 bool getEnable()
const;
87 typedef std::pair<int, agx::String>
Message;
97 bool getMessages(
MessageVector& messages,
bool clearMessages,
int levelMask = ALL_LEVELS);
104 void message(
const agx::String& msg,
int notifyLevel);
118 void message(
const agx::String& msg,
int notifyLevel)
override;
124 typedef std::deque<Message> MessageQueue;
125 MessageQueue m_messageQueue;
std::pair< int, agx::String > Message
Class for polling messages from the LOGGER system in a Subscriber pattern.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
Smart pointer for handling referenced counted objects.
Callback class, derive from this and Register to the notify singleton to get callbacks.
LoggerSubscriber * m_subscriber
agx::Vector< Message > MessageVector
Base class providing referencing counted objects.
std::recursive_mutex ReentrantMutex
@ NOTIFY_ERROR
ERROR (highest) level.
AGXTERRAIN_EXPORT void clear()
@ NOTIFY_WARNING
WARNING level.