WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
mrc::OpMode Struct Reference

#include </home/runner/work/allwpilib/allwpilib/hal/src/mrc/include/mrc/NetComm.h>

Public Member Functions

 OpMode (std::string_view _Name, OpModeHash _Hash)
 
 OpMode ()=default
 
void SetName (std::string_view NewName)
 
void MoveName (std::string &&NewName)
 
std::string_view GetName () const
 
std::span< uint8_t > WritableNameBuffer (size_t Len)
 

Public Attributes

OpModeHash Hash
 

Constructor & Destructor Documentation

◆ OpMode() [1/2]

mrc::OpMode::OpMode ( std::string_view _Name,
OpModeHash _Hash )
inline

◆ OpMode() [2/2]

mrc::OpMode::OpMode ( )
default

Member Function Documentation

◆ GetName()

std::string_view mrc::OpMode::GetName ( ) const
inline

◆ MoveName()

void mrc::OpMode::MoveName ( std::string && NewName)
inline

◆ SetName()

void mrc::OpMode::SetName ( std::string_view NewName)
inline

◆ WritableNameBuffer()

std::span< uint8_t > mrc::OpMode::WritableNameBuffer ( size_t Len)
inline

Member Data Documentation

◆ Hash

OpModeHash mrc::OpMode::Hash

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