WPILibC++ 2023.4.3
|
A source or sink property. More...
#include <cscore_oo.h>
Public Types | |
enum | Kind { kNone = CS_PROP_NONE , kBoolean = CS_PROP_BOOLEAN , kInteger = CS_PROP_INTEGER , kString = CS_PROP_STRING , kEnum = CS_PROP_ENUM } |
Public Member Functions | |
VideoProperty ()=default | |
std::string | GetName () const |
Kind | GetKind () const |
operator bool () const | |
bool | IsBoolean () const |
bool | IsInteger () const |
bool | IsString () const |
bool | IsEnum () const |
int | Get () const |
void | Set (int value) |
int | GetMin () const |
int | GetMax () const |
int | GetStep () const |
int | GetDefault () const |
std::string | GetString () const |
std::string_view | GetString (wpi::SmallVectorImpl< char > &buf) const |
void | SetString (std::string_view value) |
std::vector< std::string > | GetChoices () const |
CS_Status | GetLastStatus () const |
Friends | |
class | ImageSource |
class | VideoEvent |
class | VideoSink |
class | VideoSource |
A source or sink property.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |