#include <SimpleMessageStreamer.hh>
Inheritance diagram for rovsoft::io::SimpleMessageStreamer:
Public Member Functions | |
SimpleMessageStreamer (IOStreamer *stream, MessageStreamParser &reader) | |
virtual void | putMessage (const messages::MessagePtr message) throw (TargetUnreachableExceptionPtr) |
This method is used by devices for writing messages to the underlying stream. | |
virtual void | run () |
this function runs as tread | |
void | sendInit () |
virtual | ~SimpleMessageStreamer () |
Delete io. | |
Protected Attributes | |
IOStreamer * | io |
MessageStreamParser & | parser |
ost::Semaphore | write_access |
Synchronize write access to the stream. |
(like in the Server)
|
|
|
Delete io.
|
|
This method is used by devices for writing messages to the underlying stream.
Implements rovsoft::messages::MessageReceiver. Reimplemented in rovsoft::io::MessageStreamer. |
|
this function runs as tread
Reimplemented in rovsoft::io::MessageStreamer. Here is the call graph for this function: ![]() |
|
Reimplemented in rovsoft::io::MessageStreamer. Here is the call graph for this function: ![]() |
|
|
|
|
|
Synchronize write access to the stream. For reading not required, because only the run method reads. |