WPILibC++ 2023.4.3-108-ge5452e3
Value.h File Reference
#include "hal/Types.h"

Go to the source code of this file.

Classes

struct  HAL_Value
 HAL Entry Value. More...
 

Enumerations

enum  HAL_Type {
  HAL_UNASSIGNED = 0 , HAL_BOOLEAN = 0x01 , HAL_DOUBLE = 0x02 , HAL_ENUM = 0x04 ,
  HAL_INT = 0x08 , HAL_LONG = 0x10
}
 HAL data types. More...
 

Functions

struct HAL_Value HAL_MakeBoolean (HAL_Bool v)
 
struct HAL_Value HAL_MakeEnum (int v)
 
struct HAL_Value HAL_MakeInt (int v)
 
struct HAL_Value HAL_MakeLong (int64_t v)
 
struct HAL_Value HAL_MakeDouble (double v)
 

Enumeration Type Documentation

◆ HAL_Type

enum HAL_Type

HAL data types.

Enumerator
HAL_UNASSIGNED 
HAL_BOOLEAN 
HAL_DOUBLE 
HAL_ENUM 
HAL_INT 
HAL_LONG 

Function Documentation

◆ HAL_MakeBoolean()

struct HAL_Value HAL_MakeBoolean ( HAL_Bool  v)
inline

◆ HAL_MakeDouble()

struct HAL_Value HAL_MakeDouble ( double  v)
inline

◆ HAL_MakeEnum()

struct HAL_Value HAL_MakeEnum ( int  v)
inline

◆ HAL_MakeInt()

struct HAL_Value HAL_MakeInt ( int  v)
inline

◆ HAL_MakeLong()

struct HAL_Value HAL_MakeLong ( int64_t  v)
inline