Files
allwpilib/wpilibc/src/main/native/include/frc/RobotState.h
2019-08-24 22:28:39 -07:00

27 lines
787 B
C++

/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <memory>
namespace frc {
class RobotState {
public:
RobotState() = delete;
static bool IsDisabled();
static bool IsEnabled();
static bool IsEStopped();
static bool IsOperatorControl();
static bool IsAutonomous();
static bool IsTest();
};
} // namespace frc