WPILibC++  2020.3.2-60-g3011ebe
NotifierData.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2019 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include "hal/Types.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
17  HAL_NotifierHandle handle;
18  char name[64];
19  uint64_t timeout;
20  HAL_Bool running;
21 };
22 
23 uint64_t HALSIM_GetNextNotifierTimeout(void);
24 
25 int32_t HALSIM_GetNumNotifiers(void);
26 
34 int32_t HALSIM_GetNotifierInfo(struct HALSIM_NotifierInfo* arr, int32_t size);
35 
36 #ifdef __cplusplus
37 } // extern "C"
38 #endif
HALSIM_NotifierInfo
Definition: NotifierData.h:16