WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
cs::VideoProperty Class Reference

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

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
 
wpi::StringRef GetString (wpi::SmallVectorImpl< char > &buf) const
 
void SetString (const wpi::Twine &value)
 
std::vector< std::string > GetChoices () const
 
CS_Status GetLastStatus () const
 

Friends

class CvSource
 
class VideoEvent
 
class VideoSink
 
class VideoSource
 

Detailed Description

A source or sink property.


The documentation for this class was generated from the following files: