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/ErrorBase.h"
22 #include "frc/WPIErrors.h"
23 #include "frc/shuffleboard/LayoutType.h"
24 #include "frc/shuffleboard/ShuffleboardComponentBase.h"
25 #include "frc/shuffleboard/ShuffleboardValue.h"
35 class ShuffleboardLayout;
53 const std::vector<std::unique_ptr<ShuffleboardComponentBase>>&
GetComponents()
154 std::shared_ptr<nt::Value> defaultValue);
267 std::shared_ptr<nt::Value> defaultValue);
376 bool m_isLayout =
false;
380 std::vector<std::unique_ptr<ShuffleboardComponentBase>> m_components;
396 #include "frc/shuffleboard/ComplexWidget.h"
397 #include "frc/shuffleboard/ShuffleboardLayout.h"
398 #include "frc/shuffleboard/SimpleWidget.h"
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
CameraServer (cscore) namespace.
Definition: cscore_oo.inl:11
A source for video that provides a sequence of frames.
Definition: cscore_oo.h:97
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
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.
Represents the type of a layout in Shuffleboard.
Definition: LayoutType.h:21
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
ShuffleboardLayout & GetLayout(const wpi::Twine &title, const LayoutType &type)
Gets the layout with the given type and title, creating it if it does not already exist at the time t...
Base class for most objects.
Definition: ErrorBase.h:74
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:41