| 
    gramods
    
   | 
 
Message sink that does nothing with the messages. More...
#include <NullMessageSink.hh>


Public Member Functions | |
| void | output (Message) | 
| Outputs the provided message to the implementation specific channel.  More... | |
  Public Member Functions inherited from gramods::gmCore::MessageSink | |
| virtual void | initialize () override | 
| Called to initialize the MessageSink.  More... | |
| void | setShowTime (bool on) | 
| Activate or deactivate the output of the time of each message.  More... | |
  Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data.  More... | |
| virtual | ~Object () | 
| Cleaning up internal data.  More... | |
| virtual void | accept (Visitor *visitor) | 
| Calls the visitors apply method with this as argument.  More... | |
| virtual void | traverse (Visitor *visitor) | 
| Calls the child Object's accept method, if such exist.  More... | |
| virtual std::string | getDefaultKey () | 
| Returns the default key for the Object when automatically instantiated in a Configuration, i.e.  More... | |
| bool | isInitialized () | 
| Returns true if the Object is initialized.  More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi | 
  Static Public Attributes inherited from gramods::gmCore::MessageSink | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi | 
Additional Inherited Members | |
  Protected Member Functions inherited from gramods::gmCore::MessageSink | |
| void | outputMetadata (std::ostream &out, Message msg) | 
| Write metadata from the specified message to the specified stream.  More... | |
Message sink that does nothing with the messages.
Since Console writes to a default message sink if the configuration or client code has not added its own message sink, this can be used to suppress all type of output.
      
  | 
  inlinevirtual | 
Outputs the provided message to the implementation specific channel.
This method may be called concurrently from multiple thread and must therefore be thread safe.
Implements gramods::gmCore::MessageSink.