|
Robot Raconteur Core C++ Library
|
Local message tap. More...
#include <Tap.h>
Public Member Functions | |
| LocalMessageTap (const std::string &tap_name) | |
| Construct a new local tap. | |
| RR_OVIRTUAL void | Open () RR_OVERRIDE |
| Open the tap for writing. | |
| RR_OVIRTUAL void | Close () RR_OVERRIDE |
| Close the tap. | |
| RR_OVIRTUAL void | RecordLogRecord (const RRLogRecord &log_record) RR_OVERRIDE |
| Record a log record. | |
| RR_OVIRTUAL void | RecordMessage (const boost::intrusive_ptr< Message > &message) RR_OVERRIDE |
| Record a message. | |
Local message tap.
The LocalMessageTap works by creating a UNIX domain socket in an operating system dependant directory, and writes messages to the socket. Log records are encoded as messages and sent interleaved with messages from the transport. UTC timestamps are added to the MetaData header field of the message.
It is recommended that RobotRaconteurNodeSetup command line options be used to configure the local tap. See Command Line Options.
See Taps for more information on taps.
| RobotRaconteur::LocalMessageTap::LocalMessageTap | ( | const std::string & | tap_name | ) |
Construct a new local tap.
Must use boost::make_shared<LocalMessageTap>()
| tap_name | The name of the local tap |
|
virtual |
|
virtual |