14 #include <networktables/NetworkTableEntry.h>
15 #include <networktables/NetworkTableValue.h>
16 #include <wpi/ArrayRef.h>
17 #include <wpi/SmallSet.h>
18 #include <wpi/StringMap.h>
19 #include <wpi/Twine.h>
21 #include "frc/shuffleboard/ShuffleboardComponentBase.h"
22 #include "frc/shuffleboard/ShuffleboardValue.h"
28 class ShuffleboardLayout;
45 const std::vector<std::unique_ptr<ShuffleboardComponentBase>>&
GetComponents()
92 std::shared_ptr<nt::Value> defaultValue);
193 std::shared_ptr<nt::Value> defaultValue);
302 bool m_isLayout =
false;
306 std::vector<std::unique_ptr<ShuffleboardComponentBase>> m_components;
322 #include "frc/shuffleboard/ComplexWidget.h"
323 #include "frc/shuffleboard/ShuffleboardLayout.h"
324 #include "frc/shuffleboard/SimpleWidget.h"
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
void EnableIfActuator() override
Enables user control of this widget in the Shuffleboard application.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
Definition: ArrayRef.h:41
A layout in a Shuffleboard tab.
Definition: ShuffleboardLayout.h:25
ShuffleboardLayout & GetLayout(const wpi::Twine &type, const wpi::Twine &title)
Gets the layout with the given type and title, creating it if it does not already exist at the time t...
const std::vector< std::unique_ptr< ShuffleboardComponentBase > > & GetComponents() const
Gets the components that are direct children of this container.
void DisableIfActuator() override
Disables user control of this widget in the Shuffleboard application.
SimpleWidget & AddPersistent(const wpi::Twine &title, std::shared_ptr< nt::Value > defaultValue)
Adds a widget to this container to display a simple piece of data.
Definition: ShuffleboardValue.h:19
ComplexWidget & Add(const wpi::Twine &title, Sendable &sendable)
Adds a widget to this container to display the given sendable.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
Definition: StringMap.h:205
Definition: Sendable.h:18
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