WPILibC++ 2023.4.3
wpi::SendableRegistry::CallbackData Struct Reference

Data passed to ForeachLiveWindow() callback function. More...

#include <wpi/sendable/SendableRegistry.h>

Public Member Functions

 CallbackData (Sendable *sendable_, std::string_view name_, std::string_view subsystem_, wpi::Sendable *parent_, std::shared_ptr< void > &data_, SendableBuilder &builder_)
 

Public Attributes

Sendablesendable
 
std::string_view name
 
std::string_view subsystem
 
Sendableparent
 
std::shared_ptr< void > & data
 
SendableBuilderbuilder
 

Detailed Description

Data passed to ForeachLiveWindow() callback function.

Constructor & Destructor Documentation

◆ CallbackData()

wpi::SendableRegistry::CallbackData::CallbackData ( Sendable sendable_,
std::string_view  name_,
std::string_view  subsystem_,
wpi::Sendable parent_,
std::shared_ptr< void > &  data_,
SendableBuilder builder_ 
)
inline

Member Data Documentation

◆ builder

SendableBuilder& wpi::SendableRegistry::CallbackData::builder

◆ data

std::shared_ptr<void>& wpi::SendableRegistry::CallbackData::data

◆ name

std::string_view wpi::SendableRegistry::CallbackData::name

◆ parent

Sendable* wpi::SendableRegistry::CallbackData::parent

◆ sendable

Sendable* wpi::SendableRegistry::CallbackData::sendable

◆ subsystem

std::string_view wpi::SendableRegistry::CallbackData::subsystem

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