WPILibC++ 2023.4.3-108-ge5452e3
Sendable.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/SymbolExports.h"
8
9namespace wpi {
10
11class SendableBuilder;
12
13/**
14 * Interface for Sendable objects.
15 */
17 public:
18 virtual ~Sendable() = default;
19
20 /**
21 * Initializes this Sendable object.
22 *
23 * @param builder sendable builder
24 */
25 virtual void InitSendable(SendableBuilder& builder) = 0;
26};
27
28} // namespace wpi
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Definition: SendableBuilder.h:18
Interface for Sendable objects.
Definition: Sendable.h:16
virtual void InitSendable(SendableBuilder &builder)=0
Initializes this Sendable object.
virtual ~Sendable()=default
Definition: AprilTagFieldLayout.h:18