Public Member Functions |
| void | broadcastDummyUserMessage () |
| void | forwardDataFrom (Dashel::Stream *stream) |
| void | remapId (Dashel::Stream *stream, const uint16 localId, const uint16 targetId) |
| | Switch (unsigned port, bool verbose, bool dump, bool forward, bool rawTime) |
| | Broadcast messages form any data stream to all others data streams including itself.
|
Private Types |
| typedef std::pair< uint16, uint16 > | IdPair |
| | A pair of id: local, target.
|
typedef std::map
< Dashel::Stream *, IdPair > | IdRemapTable |
| | A table allowing to remap the aseba node id of streams.
|
Private Member Functions |
| virtual void | connectionClosed (Dashel::Stream *stream, bool abnormal) |
| virtual void | connectionCreated (Dashel::Stream *stream) |
| virtual void | incomingData (Dashel::Stream *stream) |
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
|
| IdRemapTable | idRemapTable |
| | table for remapping id
|
| 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.
Definition at line 38 of file switch.h.