8#ifndef ASG_MESSAGING_ASG_MESSAGING_FORWARD_H
9#define ASG_MESSAGING_ASG_MESSAGING_FORWARD_H
48 bool msgLvl(
const MSG::Level lvl )
const;
54 MsgStream&
msg()
const;
61 MsgStream&
msg(
const MSG::Level lvl )
const;
77 std::function<MsgStream& ()>
m_msg;
82 template<
typename T> AsgMessagingForward ::
83 AsgMessagingForward( T *owner )
84 :
m_msg ([owner] () -> MsgStream& {
return owner->msg();})
std::function< MsgStream &()> m_msg
the message stream we use
bool msgLvl(const MSG::Level lvl) const
Test the output level of the object.
MsgStream & msg() const
The standard message stream.
AsgMessagingForward(T *owner)
forwarding constructor