WPILibC++ 2024.3.2
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
Helper class for building Sendable dashboard representations.
Definition: SendableBuilder.h:21
Interface for Sendable objects.
Definition: Sendable.h:16
virtual void InitSendable(SendableBuilder &builder)=0
Initializes this Sendable object.
virtual ~Sendable()=default
Definition: ntcore_cpp.h:26