WPILibC++  2019.1.1-beta-2-16-ga60f312
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ShuffleboardRoot.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2018 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 <wpi/StringRef.h>
11 
12 namespace frc {
13 
14 class ShuffleboardTab;
15 
23  public:
31  virtual ShuffleboardTab& GetTab(wpi::StringRef title) = 0;
32 
36  virtual void Update() = 0;
37 
41  virtual void EnableActuatorWidgets() = 0;
42 
47  virtual void DisableActuatorWidgets() = 0;
48 };
49 
50 } // namespace frc
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
virtual void DisableActuatorWidgets()=0
Disables all widgets in Shuffleboard that offer user control over actuators.
virtual ShuffleboardTab & GetTab(wpi::StringRef title)=0
Gets the tab with the given title, creating it if it does not already exist.
virtual void EnableActuatorWidgets()=0
Enables all widgets in Shuffleboard that offer user control over actuators.
The root of the data placed in Shuffleboard.
Definition: ShuffleboardRoot.h:22
Represents a tab in the Shuffleboard dashboard.
Definition: ShuffleboardTab.h:29
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
virtual void Update()=0
Updates all tabs.