WPILibC++
unspecified
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
CancelButtonScheduler.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2011-2017. 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
#pragma once
9
10
#include "Buttons/ButtonScheduler.h"
11
12
namespace
frc {
13
14
class
Trigger;
15
class
Command;
16
17
class
CancelButtonScheduler
:
public
ButtonScheduler
{
18
public
:
19
CancelButtonScheduler
(
bool
last,
Trigger
* button,
Command
* orders);
20
virtual
~
CancelButtonScheduler
() =
default
;
21
virtual
void
Execute();
22
23
private
:
24
bool
pressedLast;
25
};
26
27
}
// namespace frc
frc::ButtonScheduler
Definition:
ButtonScheduler.h:15
frc::CancelButtonScheduler
Definition:
CancelButtonScheduler.h:17
frc::Command
The Command class is at the very core of the entire command framework.
Definition:
Command.h:52
frc::Trigger
This class provides an easy way to link commands to inputs.
Definition:
Trigger.h:34
shared
include
Buttons
CancelButtonScheduler.h
Generated on Sun May 7 2017 01:03:45 for WPILibC++ by
1.8.6