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... | |
![]() | |
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... | |
![]() | |
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 gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
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.