WPILib  2014.0
WPIRoboticsLibraryforFRC
 All Classes Functions Variables Pages
SimpleRobot.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2008. 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 $(WIND_BASE)/WPILib. */
5 /*----------------------------------------------------------------------------*/
6 
7 #ifndef SIMPLE_ROBOT_H
8 #define SIMPLE_ROBOT_H
9 
10 #include "RobotBase.h"
11 
15 class SimpleRobot: public RobotBase
16 {
17 public:
18  SimpleRobot();
19  virtual ~SimpleRobot() {}
20  virtual void RobotInit();
21  virtual void Disabled();
22  virtual void Autonomous();
23  virtual void OperatorControl();
24  virtual void Test();
25  virtual void RobotMain();
26  void StartCompetition();
27 
28 private:
29  bool m_robotMainOverridden;
30 };
31 
32 #endif
virtual void Disabled()
Definition: SimpleRobot.cpp:38
Definition: SimpleRobot.h:15
Definition: RobotBase.h:37
virtual void RobotMain()
Definition: SimpleRobot.cpp:86
virtual void Test()
Definition: SimpleRobot.cpp:70
void StartCompetition()
Definition: SimpleRobot.cpp:99
virtual void OperatorControl()
Definition: SimpleRobot.cpp:60
virtual void RobotInit()
Definition: SimpleRobot.cpp:28
virtual void Autonomous()
Definition: SimpleRobot.cpp:49