$darkmode
#include <osi_transceiver.hpp>
Public Member Functions | |
| virtual bool | has_sensor_data () const =0 |
| virtual std::vector< std::shared_ptr< osi3::SensorData > > | receive_sensor_data ()=0 |
| virtual void | to_json (cloe::Json &j) const =0 |
Friends | |
| void | to_json (cloe::Json &j, const OsiTransceiver &t) |
OsiTransceiver is an interface for a OSI connection via TCP.
|
pure virtual |
Return true when the transceiver has a SensorData message that can be received.
That is, if true, then a call to receive() will return a vector that is not empty.
Implemented in osii::OsiTransceiverTcp.
|
pure virtual |
Non-blocking function to return all received OSI messages.
Implemented in osii::OsiTransceiverTcp.