WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
CancelButtonScheduler.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2011-2016. 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 #ifndef __CANCEL_BUTTON_SCHEDULER_H__
9 #define __CANCEL_BUTTON_SCHEDULER_H__
10 
11 #include "Buttons/ButtonScheduler.h"
12 
13 class Trigger;
14 class Command;
15 
17  public:
18  CancelButtonScheduler(bool last, Trigger *button, Command *orders);
19  virtual ~CancelButtonScheduler() = default;
20  virtual void Execute();
21 
22  private:
23  bool pressedLast;
24 };
25 
26 #endif
Definition: ButtonScheduler.h:14
Definition: CancelButtonScheduler.h:16
The Command class is at the very core of the entire command framework.
Definition: Command.h:54
This class provides an easy way to link commands to inputs.
Definition: Trigger.h:33