WPILibC++  2018.4.1-20180821013237-1172-g8d8f120
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
SimHooks.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2018 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 #ifndef __FRC_ROBORIO__
11 
12 #include "mockdata/MockHooks.h"
13 
14 namespace frc {
15 namespace sim {
16 
17 void WaitForProgramStart() { HALSIM_WaitForProgramStart(); }
18 
19 void SetProgramStarted() { HALSIM_SetProgramStarted(); }
20 
21 bool GetProgramStarted() { return HALSIM_GetProgramStarted(); }
22 
23 void RestartTiming() { HALSIM_RestartTiming(); }
24 
25 } // namespace sim
26 } // namespace frc
27 
28 #endif
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18