WPILibC++ 2023.4.3
|
Go to the source code of this file.
Functions | |
HAL_ENUM (HAL_SimValueDirection) | |
Direction of a simulated value (from the perspective of user code). More... | |
HAL_SimDeviceHandle | HAL_CreateSimDevice (const char *name) |
Creates a simulated device. More... | |
void | HAL_FreeSimDevice (HAL_SimDeviceHandle handle) |
Frees a simulated device. More... | |
const char * | HAL_GetSimDeviceName (HAL_SimDeviceHandle handle) |
Get the name of a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValue (HAL_SimDeviceHandle device, const char *name, int32_t direction, const struct HAL_Value *initialValue) |
Creates a value on a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValueInt (HAL_SimDeviceHandle device, const char *name, int32_t direction, int32_t initialValue) |
Creates an int value on a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValueLong (HAL_SimDeviceHandle device, const char *name, int32_t direction, int64_t initialValue) |
Creates a long value on a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValueDouble (HAL_SimDeviceHandle device, const char *name, int32_t direction, double initialValue) |
Creates a double value on a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValueEnum (HAL_SimDeviceHandle device, const char *name, int32_t direction, int32_t numOptions, const char **options, int32_t initialValue) |
Creates an enumerated value on a simulated device. More... | |
HAL_SimValueHandle | HAL_CreateSimValueEnumDouble (HAL_SimDeviceHandle device, const char *name, int32_t direction, int32_t numOptions, const char **options, const double *optionValues, int32_t initialValue) |
Creates an enumerated value on a simulated device with double values. More... | |
HAL_SimValueHandle | HAL_CreateSimValueBoolean (HAL_SimDeviceHandle device, const char *name, int32_t direction, HAL_Bool initialValue) |
Creates a boolean value on a simulated device. More... | |
void | HAL_GetSimValue (HAL_SimValueHandle handle, struct HAL_Value *value) |
Gets a simulated value. More... | |
int32_t | HAL_GetSimValueInt (HAL_SimValueHandle handle) |
Gets a simulated value (int). More... | |
int64_t | HAL_GetSimValueLong (HAL_SimValueHandle handle) |
Gets a simulated value (long). More... | |
double | HAL_GetSimValueDouble (HAL_SimValueHandle handle) |
Gets a simulated value (double). More... | |
int32_t | HAL_GetSimValueEnum (HAL_SimValueHandle handle) |
Gets a simulated value (enum). More... | |
HAL_Bool | HAL_GetSimValueBoolean (HAL_SimValueHandle handle) |
Gets a simulated value (boolean). More... | |
void | HAL_SetSimValue (HAL_SimValueHandle handle, const struct HAL_Value *value) |
Sets a simulated value. More... | |
void | HAL_SetSimValueInt (HAL_SimValueHandle handle, int value) |
Sets a simulated value (int). More... | |
void | HAL_SetSimValueLong (HAL_SimValueHandle handle, int64_t value) |
Sets a simulated value (long). More... | |
void | HAL_SetSimValueDouble (HAL_SimValueHandle handle, double value) |
Sets a simulated value (double). More... | |
void | HAL_SetSimValueEnum (HAL_SimValueHandle handle, int32_t value) |
Sets a simulated value (enum). More... | |
void | HAL_SetSimValueBoolean (HAL_SimValueHandle handle, HAL_Bool value) |
Sets a simulated value (boolean). More... | |
void | HAL_ResetSimValue (HAL_SimValueHandle handle) |
Resets a simulated double or integral value to 0. More... | |