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/BuiltInLayouts.h"
24 #include "frc/shuffleboard/LayoutType.h"
25 #include "frc/shuffleboard/ShuffleboardComponentBase.h"
26 #include "frc/shuffleboard/ShuffleboardValue.h"
36 class ShuffleboardLayout;
54 const std::vector<std::unique_ptr<ShuffleboardComponentBase>>&
GetComponents()
165 std::shared_ptr<nt::Value> defaultValue);
278 std::shared_ptr<nt::Value> defaultValue);
387 bool m_isLayout =
false;
391 std::vector<std::unique_ptr<ShuffleboardComponentBase>> m_components;
407 #include "frc/shuffleboard/ComplexWidget.h"
408 #include "frc/shuffleboard/ShuffleboardLayout.h"
409 #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.
BuiltInLayouts
The types of layouts bundled with Shuffleboard.
Definition: BuiltInLayouts.h:22
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
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:42
ShuffleboardLayout & GetLayout(const wpi::Twine &title, BuiltInLayouts type)
Gets the layout with the given type and title, creating it if it does not already exist at the time t...