WPILibC++
unspecified
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
Controller.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2008-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
namespace
frc {
11
18
class
Controller
{
19
public
:
20
virtual
~
Controller
() =
default
;
21
25
virtual
void
Enable
() = 0;
26
31
virtual
void
Disable
() = 0;
32
};
33
34
}
// namespace frc
frc::Controller
Interface for Controllers.
Definition:
Controller.h:18
frc::Controller::Enable
virtual void Enable()=0
Allows the control loop to run.
frc::Controller::Disable
virtual void Disable()=0
Stops the control loop from running until explicitly re-enabled by calling enable() ...
shared
include
Controller.h
Generated on Fri Jun 30 2017 18:32:39 for WPILibC++ by
1.8.6