gramods
NullMessageSink.hh
1 
2 #ifndef GRAMODS_CORE_NULLMESSAGESINK
3 #define GRAMODS_CORE_NULLMESSAGESINK
4 
5 #include <gmCore/MessageSink.hh>
6 
7 BEGIN_NAMESPACE_GMCORE;
8 
17  : public MessageSink {
18 
19 public:
20 
21  void output(Message) {}
22 
23  GM_OFI_DECLARE;
24 };
25 
26 END_NAMESPACE_GMCORE;
27 
28 #endif
This is the base type for back-ends taking care of information sent to the Console class.
Definition: MessageSink.hh:23
Message sink that does nothing with the messages.
Definition: NullMessageSink.hh:17
void output(Message)
Outputs the provided message to the implementation specific channel.
Definition: NullMessageSink.hh:21
Definition: MessageSink.hh:27