Files
allwpilib/wpilibc/src/main/native/include/frc/smartdashboard/Sendable.h

30 lines
821 B
C
Raw Normal View History

/*----------------------------------------------------------------------------*/
/* Copyright (c) 2011-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
namespace frc {
class SendableBuilder;
/**
* Interface for Sendable objects.
*/
class Sendable {
public:
virtual ~Sendable() = default;
/**
* Initializes this Sendable object.
*
* @param builder sendable builder
*/
virtual void InitSendable(SendableBuilder& builder) = 0;
};
} // namespace frc