Signals |
void | firstConnectionCreated () |
void | messageAvailable (Message *message, Dashel::Stream *sourceStream) |
Public Member Functions |
| Hub (unsigned port, bool verbose, bool dump, bool forward, bool rawTime, bool systemBus) |
void | sendMessage (Message *message, Dashel::Stream *sourceStream=0) |
void | sendMessage (Message &message, Dashel::Stream *sourceStream=0) |
Protected Slots |
void | firstConnectionAvailable () |
| If no description has been previously requested, requests one in 200 ms.
|
void | requestDescription () |
| Timer has elapsed, request a description.
|
Private Member Functions |
virtual void | connectionClosed (Dashel::Stream *stream, bool abnormal) |
virtual void | connectionCreated (Dashel::Stream *stream) |
virtual void | incomingData (Dashel::Stream *stream) |
virtual void | run () |
Private Attributes |
bool | dump |
| should we dump content of CAN messages
|
bool | forward |
| should we only forward messages instead of transmit them back to the sender
|
bool | rawTime |
| should displayed timestamps be of the form sec:usec since 1970
|
bool | verbose |
| should we print a notification on each message
|
Route Aseba messages on the TCP part of the network.
This thread only *receives* messages. All dispatch, including forwarding, is done in the main thread called by the AsebaNetworkInterface class.
Definition at line 141 of file medulla.h.