WPILibC++  2020.3.2-60-g3011ebe
Sendable.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2011-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 namespace frc {
11 
12 class SendableBuilder;
13 
17 class Sendable {
18  public:
19  virtual ~Sendable() = default;
20 
26  virtual void InitSendable(SendableBuilder& builder) = 0;
27 };
28 
29 } // namespace frc
frc::Sendable
Interface for Sendable objects.
Definition: Sendable.h:17
frc
A class that enforces constraints on the differential drive kinematics.
Definition: PDPSim.h:16
frc::SendableBuilder
Definition: SendableBuilder.h:23
frc::Sendable::InitSendable
virtual void InitSendable(SendableBuilder &builder)=0
Initializes this Sendable object.