WPILibC++ 2023.4.3-108-ge5452e3

Functions

CS_SinkKind cs::GetSinkKind (CS_Sink sink, CS_Status *status)
 
std::string cs::GetSinkName (CS_Sink sink, CS_Status *status)
 
std::string_view cs::GetSinkName (CS_Sink sink, wpi::SmallVectorImpl< char > &buf, CS_Status *status)
 
std::string cs::GetSinkDescription (CS_Sink sink, CS_Status *status)
 
std::string_view cs::GetSinkDescription (CS_Sink sink, wpi::SmallVectorImpl< char > &buf, CS_Status *status)
 
CS_Property cs::GetSinkProperty (CS_Sink sink, std::string_view name, CS_Status *status)
 
std::span< CS_Propertycs::EnumerateSinkProperties (CS_Sink sink, wpi::SmallVectorImpl< CS_Property > &vec, CS_Status *status)
 
void cs::SetSinkSource (CS_Sink sink, CS_Source source, CS_Status *status)
 
CS_Property cs::GetSinkSourceProperty (CS_Sink sink, std::string_view name, CS_Status *status)
 
bool cs::SetSinkConfigJson (CS_Sink sink, std::string_view config, CS_Status *status)
 
bool cs::SetSinkConfigJson (CS_Sink sink, const wpi::json &config, CS_Status *status)
 
std::string cs::GetSinkConfigJson (CS_Sink sink, CS_Status *status)
 
wpi::json cs::GetSinkConfigJsonObject (CS_Sink sink, CS_Status *status)
 
CS_Source cs::GetSinkSource (CS_Sink sink, CS_Status *status)
 
CS_Sink cs::CopySink (CS_Sink sink, CS_Status *status)
 
void cs::ReleaseSink (CS_Sink sink, CS_Status *status)
 

Detailed Description

Function Documentation

◆ CopySink()

CS_Sink cs::CopySink ( CS_Sink  sink,
CS_Status status 
)

◆ EnumerateSinkProperties()

std::span< CS_Property > cs::EnumerateSinkProperties ( CS_Sink  sink,
wpi::SmallVectorImpl< CS_Property > &  vec,
CS_Status status 
)

◆ GetSinkConfigJson()

std::string cs::GetSinkConfigJson ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkConfigJsonObject()

wpi::json cs::GetSinkConfigJsonObject ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkDescription() [1/2]

std::string cs::GetSinkDescription ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkDescription() [2/2]

std::string_view cs::GetSinkDescription ( CS_Sink  sink,
wpi::SmallVectorImpl< char > &  buf,
CS_Status status 
)

◆ GetSinkKind()

CS_SinkKind cs::GetSinkKind ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkName() [1/2]

std::string cs::GetSinkName ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkName() [2/2]

std::string_view cs::GetSinkName ( CS_Sink  sink,
wpi::SmallVectorImpl< char > &  buf,
CS_Status status 
)

◆ GetSinkProperty()

CS_Property cs::GetSinkProperty ( CS_Sink  sink,
std::string_view  name,
CS_Status status 
)

◆ GetSinkSource()

CS_Source cs::GetSinkSource ( CS_Sink  sink,
CS_Status status 
)

◆ GetSinkSourceProperty()

CS_Property cs::GetSinkSourceProperty ( CS_Sink  sink,
std::string_view  name,
CS_Status status 
)

◆ ReleaseSink()

void cs::ReleaseSink ( CS_Sink  sink,
CS_Status status 
)

◆ SetSinkConfigJson() [1/2]

bool cs::SetSinkConfigJson ( CS_Sink  sink,
const wpi::json config,
CS_Status status 
)

◆ SetSinkConfigJson() [2/2]

bool cs::SetSinkConfigJson ( CS_Sink  sink,
std::string_view  config,
CS_Status status 
)

◆ SetSinkSource()

void cs::SetSinkSource ( CS_Sink  sink,
CS_Source  source,
CS_Status status 
)