Represents a heading indicator for BindCanvas. More...
#include <BindHeadingIndicator.hpp>
Public Member Functions | |
uint16_t | getBytes (uint8_t *out) override |
Generates and returns the byte data representing the heading indicator configuration. | |
Public Attributes | |
int16_t | x = 0 |
X-coordinate position of the heading indicator. | |
int16_t | y = 0 |
Y-coordinate position of the heading indicator. | |
uint8_t | cmdId = 0 |
Command ID for the heading indicator. See the notes for possible cmdId values. | |
int16_t | dimSize = 200 |
Size dimension of the heading indicator (Width = Height). | |
float | heading = 0.0f |
Current heading value. | |
![]() | |
int16_t | tag |
Represents a heading indicator for BindCanvas.
The BindHeadingIndicator
class is designed to create and display a heading indicator element within a BindCanvas screen. This element allows users to visualize and monitor a vehicle or an object's heading.
|
inlineoverridevirtual |
Generates and returns the byte data representing the heading indicator configuration.
This function is meant for internal use by the Bind framework and should not be called directly by users. It serializes the heading indicator's configuration properties into a byte array for communication with BindCanvas.
out | Pointer to the output byte array. |
Reimplemented from BindView.