WPILib 2012
WPILibRoboticsLibraryforFRC
Buttons/HeldButtonScheduler.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2011. 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 __HELD_BUTTON_SCHEDULER_H__
00008 #define __HELD_BUTTON_SCHEDULER_H__
00009 
00010 #include "Buttons/ButtonScheduler.h"
00011 
00012 class Button;
00013 class Command;
00014 
00015 class HeldButtonScheduler : public ButtonScheduler
00016 {
00017 public:
00018         HeldButtonScheduler(bool last, Button *button, Command *orders);
00019         virtual ~HeldButtonScheduler() {}
00020         virtual void Execute();
00021 };
00022 
00023 #endif
 All Classes Functions Variables