WPILibC++ 2025.0.0-alpha-1-14-g3b6f38d
REVPHData.h File Reference
#include "hal/REVPH.h"
#include "hal/Types.h"
#include "hal/simulation/NotifyListener.h"

Go to the source code of this file.

Functions

void HALSIM_ResetREVPHData (int32_t index)
 
int32_t HALSIM_RegisterREVPHInitializedCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHInitializedCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetREVPHInitialized (int32_t index)
 
void HALSIM_SetREVPHInitialized (int32_t index, HAL_Bool solenoidInitialized)
 
int32_t HALSIM_RegisterREVPHSolenoidOutputCallback (int32_t index, int32_t channel, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHSolenoidOutputCallback (int32_t index, int32_t channel, int32_t uid)
 
HAL_Bool HALSIM_GetREVPHSolenoidOutput (int32_t index, int32_t channel)
 
void HALSIM_SetREVPHSolenoidOutput (int32_t index, int32_t channel, HAL_Bool solenoidOutput)
 
int32_t HALSIM_RegisterREVPHCompressorOnCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHCompressorOnCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetREVPHCompressorOn (int32_t index)
 
void HALSIM_SetREVPHCompressorOn (int32_t index, HAL_Bool compressorOn)
 
int32_t HALSIM_RegisterREVPHCompressorConfigTypeCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHCompressorConfigTypeCallback (int32_t index, int32_t uid)
 
HAL_REVPHCompressorConfigType HALSIM_GetREVPHCompressorConfigType (int32_t index)
 
void HALSIM_SetREVPHCompressorConfigType (int32_t index, HAL_REVPHCompressorConfigType configType)
 
int32_t HALSIM_RegisterREVPHPressureSwitchCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHPressureSwitchCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetREVPHPressureSwitch (int32_t index)
 
void HALSIM_SetREVPHPressureSwitch (int32_t index, HAL_Bool pressureSwitch)
 
int32_t HALSIM_RegisterREVPHCompressorCurrentCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelREVPHCompressorCurrentCallback (int32_t index, int32_t uid)
 
double HALSIM_GetREVPHCompressorCurrent (int32_t index)
 
void HALSIM_SetREVPHCompressorCurrent (int32_t index, double compressorCurrent)
 
void HALSIM_GetREVPHAllSolenoids (int32_t index, uint8_t *values)
 
void HALSIM_SetREVPHAllSolenoids (int32_t index, uint8_t values)
 
void HALSIM_RegisterREVPHAllNonSolenoidCallbacks (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_RegisterREVPHAllSolenoidCallbacks (int32_t index, int32_t channel, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 

Function Documentation

◆ HALSIM_CancelREVPHCompressorConfigTypeCallback()

void HALSIM_CancelREVPHCompressorConfigTypeCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelREVPHCompressorCurrentCallback()

void HALSIM_CancelREVPHCompressorCurrentCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelREVPHCompressorOnCallback()

void HALSIM_CancelREVPHCompressorOnCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelREVPHInitializedCallback()

void HALSIM_CancelREVPHInitializedCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelREVPHPressureSwitchCallback()

void HALSIM_CancelREVPHPressureSwitchCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelREVPHSolenoidOutputCallback()

void HALSIM_CancelREVPHSolenoidOutputCallback ( int32_t  index,
int32_t  channel,
int32_t  uid 
)

◆ HALSIM_GetREVPHAllSolenoids()

void HALSIM_GetREVPHAllSolenoids ( int32_t  index,
uint8_t *  values 
)

◆ HALSIM_GetREVPHCompressorConfigType()

HAL_REVPHCompressorConfigType HALSIM_GetREVPHCompressorConfigType ( int32_t  index)

◆ HALSIM_GetREVPHCompressorCurrent()

double HALSIM_GetREVPHCompressorCurrent ( int32_t  index)

◆ HALSIM_GetREVPHCompressorOn()

HAL_Bool HALSIM_GetREVPHCompressorOn ( int32_t  index)

◆ HALSIM_GetREVPHInitialized()

HAL_Bool HALSIM_GetREVPHInitialized ( int32_t  index)

◆ HALSIM_GetREVPHPressureSwitch()

HAL_Bool HALSIM_GetREVPHPressureSwitch ( int32_t  index)

◆ HALSIM_GetREVPHSolenoidOutput()

HAL_Bool HALSIM_GetREVPHSolenoidOutput ( int32_t  index,
int32_t  channel 
)

◆ HALSIM_RegisterREVPHAllNonSolenoidCallbacks()

void HALSIM_RegisterREVPHAllNonSolenoidCallbacks ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHAllSolenoidCallbacks()

void HALSIM_RegisterREVPHAllSolenoidCallbacks ( int32_t  index,
int32_t  channel,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHCompressorConfigTypeCallback()

int32_t HALSIM_RegisterREVPHCompressorConfigTypeCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHCompressorCurrentCallback()

int32_t HALSIM_RegisterREVPHCompressorCurrentCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHCompressorOnCallback()

int32_t HALSIM_RegisterREVPHCompressorOnCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHInitializedCallback()

int32_t HALSIM_RegisterREVPHInitializedCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHPressureSwitchCallback()

int32_t HALSIM_RegisterREVPHPressureSwitchCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterREVPHSolenoidOutputCallback()

int32_t HALSIM_RegisterREVPHSolenoidOutputCallback ( int32_t  index,
int32_t  channel,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_ResetREVPHData()

void HALSIM_ResetREVPHData ( int32_t  index)

◆ HALSIM_SetREVPHAllSolenoids()

void HALSIM_SetREVPHAllSolenoids ( int32_t  index,
uint8_t  values 
)

◆ HALSIM_SetREVPHCompressorConfigType()

void HALSIM_SetREVPHCompressorConfigType ( int32_t  index,
HAL_REVPHCompressorConfigType  configType 
)

◆ HALSIM_SetREVPHCompressorCurrent()

void HALSIM_SetREVPHCompressorCurrent ( int32_t  index,
double  compressorCurrent 
)

◆ HALSIM_SetREVPHCompressorOn()

void HALSIM_SetREVPHCompressorOn ( int32_t  index,
HAL_Bool  compressorOn 
)

◆ HALSIM_SetREVPHInitialized()

void HALSIM_SetREVPHInitialized ( int32_t  index,
HAL_Bool  solenoidInitialized 
)

◆ HALSIM_SetREVPHPressureSwitch()

void HALSIM_SetREVPHPressureSwitch ( int32_t  index,
HAL_Bool  pressureSwitch 
)

◆ HALSIM_SetREVPHSolenoidOutput()

void HALSIM_SetREVPHSolenoidOutput ( int32_t  index,
int32_t  channel,
HAL_Bool  solenoidOutput 
)