WPILibC++ 2024.3.2
ShuffleboardLayout.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 <memory>
8#include <string_view>
9
11
14
15#ifdef _WIN32
16#pragma warning(push)
17#pragma warning(disable : 4250)
18#endif
19
20namespace frc {
21
22/**
23 * A layout in a Shuffleboard tab. Layouts can contain widgets and other
24 * layouts.
25 */
26class ShuffleboardLayout : public ShuffleboardComponent<ShuffleboardLayout>,
28 public:
31
32 void BuildInto(std::shared_ptr<nt::NetworkTable> parentTable,
33 std::shared_ptr<nt::NetworkTable> metaTable) override;
34};
35
36} // namespace frc
37
38#ifdef _WIN32
39#pragma warning(pop)
40#endif
A generic component in Shuffleboard.
Definition: ShuffleboardComponent.h:27
Common interface for objects that can contain shuffleboard components.
Definition: ShuffleboardContainer.h:42
A layout in a Shuffleboard tab.
Definition: ShuffleboardLayout.h:27
void BuildInto(std::shared_ptr< nt::NetworkTable > parentTable, std::shared_ptr< nt::NetworkTable > metaTable) override
Builds the entries for this value.
ShuffleboardLayout(ShuffleboardContainer &parent, std::string_view name, std::string_view type)
basic_string_view< char > string_view
Definition: core.h:501
type
Definition: core.h:556
Definition: AprilTagPoseEstimator.h:15