class VisionNotification

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
eventuint32Vision event
sensoruint32The sensor that caused the notification (if applicable)
optionuint32The option that caused the notification (if applicable)

Member functions

Function nameReturn typeInput typeDescription
event() constuint32voidReturns the current value of event. If the event is not set, returns 0.
set_event()voiduint32Sets the value of event. After calling this, event() will return value.
clear_event()voidvoidClears the value of event. After calling this, event() will return the empty string/empty bytes.
sensor() constuint32voidReturns the current value of sensor. If the sensor is not set, returns 0.
set_sensor()voiduint32Sets the value of sensor. After calling this, sensor() will return value.
clear_sensor()voidvoidClears the value of sensor. After calling this, sensor() will return the empty string/empty bytes.
option() constuint32voidReturns the current value of option. If the option is not set, returns 0.
set_option()voiduint32Sets the value of option. After calling this, option() will return value.
clear_option()voidvoidClears the value of option. After calling this, option() will return the empty string/empty bytes.

Parent topic: VisionConfig (C++)