WPILibC++  2019.1.1-beta-1-18-g2e3e3a4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
RobotState.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2008-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 #include <memory>
11 
12 namespace frc {
13 
14 class RobotState {
15  public:
16  static bool IsDisabled();
17  static bool IsEnabled();
18  static bool IsOperatorControl();
19  static bool IsAutonomous();
20  static bool IsTest();
21 };
22 
23 } // namespace frc
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
Definition: RobotState.h:14