WPILibC++ 2025.0.0-alpha-1-14-g3b6f38d
NotifierData.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"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
15 char name[64];
16 uint64_t timeout;
18};
19
21
23
24/**
25 * Gets detailed information about each notifier.
26 *
27 * @param arr array of information to be filled
28 * @param size size of arr
29 * @return Number of notifiers; note: may be larger than passed-in size
30 */
31int32_t HALSIM_GetNotifierInfo(struct HALSIM_NotifierInfo* arr, int32_t size);
32
33#ifdef __cplusplus
34} // extern "C"
35#endif
int32_t HALSIM_GetNumNotifiers(void)
uint64_t HALSIM_GetNextNotifierTimeout(void)
int32_t HALSIM_GetNotifierInfo(struct HALSIM_NotifierInfo *arr, int32_t size)
Gets detailed information about each notifier.
int32_t HAL_Bool
Definition: Types.h:73
HAL_Handle HAL_NotifierHandle
Definition: Types.h:43
Definition: NotifierData.h:13
char name[64]
Definition: NotifierData.h:15
HAL_NotifierHandle handle
Definition: NotifierData.h:14
HAL_Bool waitTimeValid
Definition: NotifierData.h:17
uint64_t timeout
Definition: NotifierData.h:16