WPILib 2012
WPILibRoboticsLibraryforFRC
SimpleRobot.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef SIMPLE_ROBOT_H
00008 #define SIMPLE_ROBOT_H
00009 
00010 #include "RobotBase.h"
00011 
00015 class SimpleRobot: public RobotBase
00016 {
00017 public:
00018         SimpleRobot();
00019         virtual ~SimpleRobot() {}
00020         virtual void RobotInit();
00021         virtual void Disabled();
00022         virtual void Autonomous();
00023         virtual void OperatorControl();
00024         virtual void RobotMain();
00025         void StartCompetition();
00026 
00027 private:
00028         bool m_robotMainOverridden;
00029 };
00030 
00031 #endif
 All Classes Functions Variables