21 #ifndef MsgRetrievingFunction_h 22 #define MsgRetrievingFunction_h std::ostream & getOStream()
Returns the associated ostream.
virtual void postWriteHook()
Sends the data which was written to the string stream via the retrieving function.
MsgRetrievingFunction(T *object, Operation operation, MsgHandler::MsgType type)
Constructor.
MsgHandler::MsgType myMsgType
The type of message to retrieve.
Encapsulates an object's method for using it as a message retriever.
~MsgRetrievingFunction()
Destructor.
Static storage of an output device and its base (abstract) implementation.
std::ostringstream myMessage
message buffer
Operation myOperation
The object's operation to perform.
void(T::* Operation)(const MsgHandler::MsgType, const std::string &)
Type of the function to execute.
T * myObject
The object the action is directed to.