28 #include <boost/bind/placeholders.hpp>
30 namespace RobotRaconteur
72 virtual void RecordMessage(
const RR_INTRUSIVE_PTR<Message>& message) = 0;
77 #ifndef ROBOTRACONTEUR_EMSCRIPTEN
81 class LocalMessageTapImpl;
100 RR_WEAK_PTR<detail::LocalMessageTapImpl> tap_impl;
101 std::string tap_name;
114 RR_OVIRTUAL
void Open() RR_OVERRIDE;
115 RR_OVIRTUAL
void Close() RR_OVERRIDE;
117 RR_OVIRTUAL
void RecordLogRecord(const
RRLogRecord& log_record) RR_OVERRIDE;
118 RR_OVIRTUAL
void RecordMessage(const RR_INTRUSIVE_PTR<Message>& message) RR_OVERRIDE;
Local message tap.
Definition: Tap.h:99
LocalMessageTap(const std::string &tap_name)
Construct a new local tap.
Base class for message taps.
Definition: Tap.h:47
virtual void RecordMessage(const boost::intrusive_ptr< Message > &message)=0
Record a message.
virtual void Open()=0
Open the tap for writing.
virtual void RecordLogRecord(const RRLogRecord &log_record)=0
Record a log record.
virtual void Close()=0
Close the tap.
Robot Raconteur log record.
Definition: Logging.h:49