WPILibC++  2020.3.2
ShuffleboardLayout.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include <memory>
11 
12 #include <networktables/NetworkTable.h>
13 #include <wpi/Twine.h>
14 
15 #include "frc/shuffleboard/ShuffleboardComponent.h"
16 #include "frc/shuffleboard/ShuffleboardContainer.h"
17 
18 #ifdef _WIN32
19 #pragma warning(push)
20 #pragma warning(disable : 4250)
21 #endif
22 
23 namespace frc {
24 
29 class ShuffleboardLayout : public ShuffleboardComponent<ShuffleboardLayout>,
30  public ShuffleboardContainer {
31  public:
33  const wpi::Twine& type);
34 
35  void BuildInto(std::shared_ptr<nt::NetworkTable> parentTable,
36  std::shared_ptr<nt::NetworkTable> metaTable) override;
37 };
38 
39 } // namespace frc
40 
41 #ifdef _WIN32
42 #pragma warning(pop)
43 #endif
frc::ShuffleboardLayout
A layout in a Shuffleboard tab.
Definition: ShuffleboardLayout.h:29
frc::ShuffleboardComponent
A generic component in Shuffleboard.
Definition: ShuffleboardComponent.h:30
frc::ShuffleboardContainer
Common interface for objects that can contain shuffleboard components.
Definition: ShuffleboardContainer.h:44
frc
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
wpi::Twine
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:85
frc::ShuffleboardLayout::BuildInto
void BuildInto(std::shared_ptr< nt::NetworkTable > parentTable, std::shared_ptr< nt::NetworkTable > metaTable) override
Builds the entries for this value.