WPILibC++ 2025.0.0-alpha-1-14-g3b6f38d
RelayData.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "hal/Types.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14void HALSIM_ResetRelayData(int32_t index);
16 int32_t index, HAL_NotifyCallback callback, void* param,
17 HAL_Bool initialNotify);
18void HALSIM_CancelRelayInitializedForwardCallback(int32_t index, int32_t uid);
21 HAL_Bool initializedForward);
22
24 int32_t index, HAL_NotifyCallback callback, void* param,
25 HAL_Bool initialNotify);
26void HALSIM_CancelRelayInitializedReverseCallback(int32_t index, int32_t uid);
29 HAL_Bool initializedReverse);
30
32 HAL_NotifyCallback callback,
33 void* param,
34 HAL_Bool initialNotify);
35void HALSIM_CancelRelayForwardCallback(int32_t index, int32_t uid);
37void HALSIM_SetRelayForward(int32_t index, HAL_Bool forward);
38
40 HAL_NotifyCallback callback,
41 void* param,
42 HAL_Bool initialNotify);
43void HALSIM_CancelRelayReverseCallback(int32_t index, int32_t uid);
45void HALSIM_SetRelayReverse(int32_t index, HAL_Bool reverse);
46
48 HAL_NotifyCallback callback, void* param,
49 HAL_Bool initialNotify);
50
51#ifdef __cplusplus
52} // extern "C"
53#endif
void(* HAL_NotifyCallback)(const char *name, void *param, const struct HAL_Value *value)
Definition: NotifyListener.h:9
void HALSIM_ResetRelayData(int32_t index)
void HALSIM_CancelRelayInitializedReverseCallback(int32_t index, int32_t uid)
int32_t HALSIM_RegisterRelayReverseCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
int32_t HALSIM_RegisterRelayForwardCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
HAL_Bool HALSIM_GetRelayInitializedForward(int32_t index)
void HALSIM_RegisterRelayAllCallbacks(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_SetRelayInitializedForward(int32_t index, HAL_Bool initializedForward)
int32_t HALSIM_RegisterRelayInitializedForwardCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
HAL_Bool HALSIM_GetRelayForward(int32_t index)
void HALSIM_SetRelayForward(int32_t index, HAL_Bool forward)
int32_t HALSIM_RegisterRelayInitializedReverseCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_CancelRelayReverseCallback(int32_t index, int32_t uid)
void HALSIM_CancelRelayForwardCallback(int32_t index, int32_t uid)
void HALSIM_SetRelayReverse(int32_t index, HAL_Bool reverse)
HAL_Bool HALSIM_GetRelayInitializedReverse(int32_t index)
void HALSIM_CancelRelayInitializedForwardCallback(int32_t index, int32_t uid)
void HALSIM_SetRelayInitializedReverse(int32_t index, HAL_Bool initializedReverse)
HAL_Bool HALSIM_GetRelayReverse(int32_t index)
int32_t HAL_Bool
Definition: Types.h:73