WPILibC++  2020.3.2
SendableBase.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2017-2019 FIRST. 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 <wpi/deprecated.h>
11 
12 #include "frc/smartdashboard/Sendable.h"
13 #include "frc/smartdashboard/SendableHelper.h"
14 
15 namespace frc {
16 
17 class SendableBase : public Sendable, public SendableHelper<SendableBase> {
18  public:
24  WPI_DEPRECATED("use Sendable and SendableHelper")
25  explicit SendableBase(bool addLiveWindow = true);
26 };
27 
28 } // namespace frc
frc::SendableBase::SendableBase
SendableBase(bool addLiveWindow=true)
Creates an instance of the sensor base.
frc::Sendable
Interface for Sendable objects.
Definition: Sendable.h:17
frc
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
frc::SendableHelper
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:28
frc::SendableBase
Definition: SendableBase.h:17