Protected Member Functions | |
void | incomingData (Stream *stream) |
A message recorder. This class saves user messages
Definition at line 43 of file rec.cpp.
void Aseba::Recorder::incomingData | ( | Stream * | ) | [inline, protected, virtual] |
Called when data is available for reading on the stream. If the stream is closed during this method, an exception occurs: Hub stops the execution of this method and calls connectionClosed(); objects dynamically allocated must thus be handled with auto_ptr. If step() is used, subclass must implement this method and call read at least once. Called with the stream lock held.
stream | stream to the target |
Reimplemented from Aseba::Hub.