WPILibC++ 2023.4.3
Property Functions

Functions

CS_PropertyKind cs::GetPropertyKind (CS_Property property, CS_Status *status)
 
std::string cs::GetPropertyName (CS_Property property, CS_Status *status)
 
std::string_view cs::GetPropertyName (CS_Property property, wpi::SmallVectorImpl< char > &buf, CS_Status *status)
 
int cs::GetProperty (CS_Property property, CS_Status *status)
 
void cs::SetProperty (CS_Property property, int value, CS_Status *status)
 
int cs::GetPropertyMin (CS_Property property, CS_Status *status)
 
int cs::GetPropertyMax (CS_Property property, CS_Status *status)
 
int cs::GetPropertyStep (CS_Property property, CS_Status *status)
 
int cs::GetPropertyDefault (CS_Property property, CS_Status *status)
 
std::string cs::GetStringProperty (CS_Property property, CS_Status *status)
 
std::string_view cs::GetStringProperty (CS_Property property, wpi::SmallVectorImpl< char > &buf, CS_Status *status)
 
void cs::SetStringProperty (CS_Property property, std::string_view value, CS_Status *status)
 
std::vector< std::string > cs::GetEnumPropertyChoices (CS_Property property, CS_Status *status)
 

Detailed Description

Function Documentation

◆ GetEnumPropertyChoices()

std::vector< std::string > cs::GetEnumPropertyChoices ( CS_Property  property,
CS_Status status 
)

◆ GetProperty()

int cs::GetProperty ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyDefault()

int cs::GetPropertyDefault ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyKind()

CS_PropertyKind cs::GetPropertyKind ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyMax()

int cs::GetPropertyMax ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyMin()

int cs::GetPropertyMin ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyName() [1/2]

std::string cs::GetPropertyName ( CS_Property  property,
CS_Status status 
)

◆ GetPropertyName() [2/2]

std::string_view cs::GetPropertyName ( CS_Property  property,
wpi::SmallVectorImpl< char > &  buf,
CS_Status status 
)

◆ GetPropertyStep()

int cs::GetPropertyStep ( CS_Property  property,
CS_Status status 
)

◆ GetStringProperty() [1/2]

std::string cs::GetStringProperty ( CS_Property  property,
CS_Status status 
)

◆ GetStringProperty() [2/2]

std::string_view cs::GetStringProperty ( CS_Property  property,
wpi::SmallVectorImpl< char > &  buf,
CS_Status status 
)

◆ SetProperty()

void cs::SetProperty ( CS_Property  property,
int  value,
CS_Status status 
)

◆ SetStringProperty()

void cs::SetStringProperty ( CS_Property  property,
std::string_view  value,
CS_Status status 
)