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;
AGXTERRAIN_EXPORT void clear()
std::pair< int, agx::String > Message
#define AGXPHYSICS_EXPORT
Base class providing referencing counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Class for polling messages from the LOGGER system in a Subscriber pattern.
Callback class, derive from this and Register to the notify singleton to get callbacks.
Smart pointer for handling referenced counted objects.
agx::Vector< Message > MessageVector
std::recursive_mutex ReentrantMutex
LoggerSubscriber * m_subscriber