RIT VEXU Core API
|
#include <protocol.hpp>
Public Member Functions | |
virtual bool | send_packet (const VDP::Packet &packet)=0 |
virtual void | register_receive_callback (std::function< void(const VDP::Packet &packet)> callback)=0 |
virtual | ~AbstractDevice () |
defines a generic device to trasmit packets through
|
virtual |
deleter for the device, used to delete it when it is no longer needed
|
pure virtual |
a callback to function that runs when a new packet is available
the | function for the callback to call me when my ex-wife |
|
pure virtual |
Sends a packet over some transmission medium It is not specified how the packet reaches the partner The transmission medium and wire format are left to the user
packet | the packet to send through the device |