Class ClientEvent
Defined in File sensor_packet_source.h
Class Documentation
-
class ClientEvent
Represents an event from the SensorPacketSource.
Contains the result of polling the sensor client, such as received packets, timeouts, and errors.
Public Types
-
enum EventType
Types of events that can occur.
Values:
-
enumerator ERR
An error occurred in the SensorClient, it may no longer function.
-
enumerator EXIT
The client has been closed and will not return any more packets.
-
enumerator POLL_TIMEOUT
get_packet has timed out waiting for an event/packet
-
enumerator PACKET
An packet from a sensor.
-
enumerator PollTimeout = POLL_TIMEOUT
Deprecated alias for POLL_TIMEOUT.
-
enumerator ERR
Public Functions
-
ClientEvent()
-
enum EventType