WPILibC++ 2024.3.2
frc::LayoutType Class Reference

Represents the type of a layout in Shuffleboard. More...

#include <frc/shuffleboard/LayoutType.h>

Public Member Functions

constexpr LayoutType (const char *layoutName)
 
 ~LayoutType ()=default
 
std::string_view GetLayoutName () const
 Gets the string type of the layout as defined by that layout in Shuffleboard. More...
 

Detailed Description

Represents the type of a layout in Shuffleboard.

Using this is preferred over specifying raw strings, to avoid typos and having to know or look up the exact string name for a desired layout.

See also
BuiltInLayouts the built-in layout types

Constructor & Destructor Documentation

◆ LayoutType()

constexpr frc::LayoutType::LayoutType ( const char *  layoutName)
inlineexplicitconstexpr

◆ ~LayoutType()

frc::LayoutType::~LayoutType ( )
default

Member Function Documentation

◆ GetLayoutName()

std::string_view frc::LayoutType::GetLayoutName ( ) const

Gets the string type of the layout as defined by that layout in Shuffleboard.


The documentation for this class was generated from the following file: