WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
Frame Source Functions

Functions

void cs::NotifySourceError (CS_Source source, std::string_view msg, CS_Status *status)
 
void cs::SetSourceConnected (CS_Source source, bool connected, CS_Status *status)
 
void cs::SetSourceDescription (CS_Source source, std::string_view description, CS_Status *status)
 
CS_Property cs::CreateSourceProperty (CS_Source source, std::string_view name, CS_PropertyKind kind, int minimum, int maximum, int step, int defaultValue, int value, CS_Status *status)
 
void cs::SetSourceEnumPropertyChoices (CS_Source source, CS_Property property, std::span< const std::string > choices, CS_Status *status)
 

Detailed Description

Function Documentation

◆ CreateSourceProperty()

CS_Property cs::CreateSourceProperty ( CS_Source source,
std::string_view name,
CS_PropertyKind kind,
int minimum,
int maximum,
int step,
int defaultValue,
int value,
CS_Status * status )

◆ NotifySourceError()

void cs::NotifySourceError ( CS_Source source,
std::string_view msg,
CS_Status * status )

◆ SetSourceConnected()

void cs::SetSourceConnected ( CS_Source source,
bool connected,
CS_Status * status )

◆ SetSourceDescription()

void cs::SetSourceDescription ( CS_Source source,
std::string_view description,
CS_Status * status )

◆ SetSourceEnumPropertyChoices()

void cs::SetSourceEnumPropertyChoices ( CS_Source source,
CS_Property property,
std::span< const std::string > choices,
CS_Status * status )