Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
|
Interface to be used to enable receiving SR_packet from other SR applications. More...
#include <receiver.h>
Public Member Functions | |
virtual void | receive (SR_packet &packet)=0 |
Receives SR_packet sent over network. More... | |
virtual void | print (SR_packet &packet)=0 |
Prints text representation of SR_packet. More... | |
virtual | ~Receiver () |
Ensures that the destructor of extending classes is called when a pointer has been cast to Receiver*. More... | |
|
inlinevirtual |
Ensures that the destructor of extending classes is called when a pointer has been cast to Receiver*.
A destructor for the Receiver should ensure any networking related objects are cleaned up appropriately.
|
pure virtual |
Prints text representation of SR_packet.
packet | is a C-compatible message which requires no further serialization |
Used for debugging purposes. Inherited via Receiver.
Implemented in SR::SRContext.
|
pure virtual |
Receives SR_packet sent over network.
packet | is a C-compatible message which requires no further serialization |
Should be called from the applications network interfaces.
Implemented in SR::SRContext.