WPILibC++ 2024.3.2
NTSendable.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
8
9namespace nt {
10
11class NTSendableBuilder;
12
13/**
14 * Interface for NetworkTable Sendable objects.
15 */
16class NTSendable : public wpi::Sendable {
17 public:
18 /**
19 * Initializes this Sendable object.
20 *
21 * @param builder sendable builder
22 */
23 virtual void InitSendable(NTSendableBuilder& builder) = 0;
24
25 void InitSendable(wpi::SendableBuilder& builder) override;
26};
27
28} // namespace nt
Helper class for building Sendable dashboard representations for NetworkTables.
Definition: NTSendableBuilder.h:22
Interface for NetworkTable Sendable objects.
Definition: NTSendable.h:16
virtual void InitSendable(NTSendableBuilder &builder)=0
Initializes this Sendable object.
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
Helper class for building Sendable dashboard representations.
Definition: SendableBuilder.h:21
Interface for Sendable objects.
Definition: Sendable.h:16
NetworkTables (ntcore) namespace.
Definition: ntcore_cpp.h:36