|
|
A message handler that allows to relay several messages to a single receiver
| inline MessageRelay (const char* name, MessageReceiver* receiver, int id,
int priority = 100, const char* trackName = 0, bool addPriority = true)
| MessageRelay |
Creates a new message relay.
Parameters:
| name | Name of the handled message - may be NULL |
| receiver | Receiver of th relayed messages |
| id | Numeric identifier to pass to receiver |
| priority | Priority of the handler, 0 = top |
| trackName | Name to be used in handler tracking |
| addPriority | True to append :priority to trackName |
| bool received (Message& msg)
| received |
[virtual]
This method is not called from MessageHandler through polymorphism and should not be used or reimplemented.
Parameters:
| msg | The received message |
Returns: True if the receiver exists and has handled the message
Reimplemented from MessageHandler.
| inline int id ()
| id |
[const]
Get the ID of this message relay
Returns: Numeric identifier passed to receiver
| Generated by: paulc on bussard on Thu Jul 24 18:41:02 2014, using kdoc 2.0a54. |