WPILibC++
2024.3.2
CommandBase.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#pragma once
6
7
#include <
wpi/deprecated.h
>
8
9
#include "
frc2/command/Command.h
"
10
11
namespace
frc2
{
12
/**
13
* A Sendable base class for Commands.
14
*
15
* This class is provided by the NewCommands VendorDep
16
*
17
* @deprecated All functionality provided by CommandBase has been merged into
18
* Command. Use Command instead.
19
*/
20
class
[[deprecated("Use
Command
instead")]]
CommandBase
:
public
Command
{
21
protected
:
22
WPI_DEPRECATED(
"Use Command instead"
)
23
CommandBase
();
24
};
25
}
// namespace frc2
Command.h
frc2::CommandBase
A Sendable base class for Commands.
Definition:
CommandBase.h:20
frc2::Command
A state machine representing a complete action to be performed by the robot.
Definition:
Command.h:41
deprecated.h
frc2
Definition:
TrapezoidProfileSubsystem.h:12
frc2
command
CommandBase.h
Generated on Wed Mar 13 2024 05:20:40 for WPILibC++ by
1.9.4