13 #include <networktables/NetworkTable.h>
14 #include <networktables/NetworkTableValue.h>
15 #include <wpi/StringMap.h>
16 #include <wpi/Twine.h>
18 #include "frc/shuffleboard/ShuffleboardComponentBase.h"
22 class ShuffleboardContainer;
29 template <
typename Derived>
71 Derived&
WithSize(
int width,
int height);
76 #include "frc/shuffleboard/ShuffleboardComponent.inc"
A shim class to allow storing ShuffleboardComponents in arrays.
Definition: ShuffleboardComponentBase.h:27
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
A generic component in Shuffleboard.
Definition: ShuffleboardComponent.h:30
Derived & WithProperties(const wpi::StringMap< std::shared_ptr< nt::Value >> &properties)
Sets custom properties for this component.
Definition: ShuffleboardComponent.inc:23
Derived & WithPosition(int columnIndex, int rowIndex)
Sets the position of this component in the tab.
Definition: ShuffleboardComponent.inc:31
Derived & WithSize(int width, int height)
Sets the size of this component in the tab.
Definition: ShuffleboardComponent.inc:40
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
Definition: StringMap.h:205
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
Common interface for objects that can contain shuffleboard components.
Definition: ShuffleboardContainer.h:34