Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/ray/src/lib/message/manager.h File Reference

Message handling "system" for errors, warnings and verbose messages; message manager class. More...

#include <lib/sconfig.h>
#include <lib/tl/linkedlist.h>
#include <lib/threads/mutex.h>
#include <lib/threads/atomic.h>
#include <lib/message/handler.h>

Include dependency graph for manager.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  MessageManager
 Gets all messages and distributes them to the handlers. More...


Defines

#define _LIB_MESSAGE_MANAGER_H_   1


Detailed Description

Message handling "system" for errors, warnings and verbose messages; message manager class.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [

In order to use the message routines, you must first initialize the message handling system using MessageManager::init(), normally from the main thread.

Next, any thread can go writing messages by calling MessageManager::PostMessage() which will then deliver the message to all the registered message handlers. No own threads for message handling are used; if a separate GUI thread should be used, then passing the data would be the task of the message handler.

In order to have messages displayed to the user, at least one message handler should register at the manager. Message handlers can decide which messages they want to receive; see SelectMessageTypes().

Definition in file manager.h.


Define Documentation

#define _LIB_MESSAGE_MANAGER_H_   1
 

Definition at line 19 of file manager.h.


Generated on Sat Feb 19 22:34:09 2005 for Ray by doxygen 1.3.5