resonance 1.0.1
Loading...
Searching...
No Matches
msgjoiner.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsink.h"
4#include "app/msgsource.h"
5
6class Message;
7
22class MsgJoiner : public MsgSource, public MsgSink {
23public:
33 virtual void DispatchPriv(Message *pMsg);
34};
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Sink that sends every message it receives on to its own sinks.
Definition msgjoiner.h:22
virtual void DispatchPriv(Message *pMsg)
Send the message to every registered sink.
Receiver of engine messages.
Definition msgsink.h:37
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26