|
| SourceSettings () |
| Constructs a new SourceSettings object with default values and an empty name.
|
|
| SourceSettings (const std::string &sourceName) |
| Constructs a new SourceSettings object with default values. More...
|
|
std::string | getSourceName () const |
| Gets the name of the associated source. More...
|
|
void | setCameraSettings (const cavapa::CameraSettings &cameraSettings) |
| Sets the camera settings for the instance of SourceSettings. More...
|
|
void | setSourceName (const std::string &name) |
| Sets the name of the associated source.
|
|
cavapa::CameraSettings | toCameraSettings () const |
| Converts the instance of SourceSettings to CameraSettings. More...
|
|
std::vector< std::string > | getVector (const std::string &key) const |
| Gets a collection of values related to the specified key. More...
|
|
void | setVector (const std::string &key, const std::vector< std::string > &vector) |
| Sets a collection of values related to the specified key. More...
|
|
const_iterator | begin () const |
| Returns a const iterator to the beginning of the collection. More...
|
|
const_iterator | end () const |
| Returns a const iterator to the end of the collection. More...
|
|
std::string | get (const std::string &name) const |
| Gets the value of the specified key as a string. More...
|
|
bool | getBool (const std::string &name) const |
| Gets the value of the specified key as a bool. More...
|
|
QColor | getColor (const std::string &name) const |
| Gets the value of the specified key as a QColor. More...
|
|
QString | getQString (const std::string &name) const |
| Gets the value of the specified key as a QString. More...
|
|
double | getDouble (const std::string &name) const |
| Gets the value of the specified key as a double. More...
|
|
int | getInt (const std::string &name) const |
| Gets the value of the specified key as an integer. More...
|
|
template<typename ValueType , int N> |
std::array< ValueType, N > | getValues (const std::string &name) const |
| Gets an array of values from the specified key. More...
|
|
void | set (const std::string &name, const std::string &value) |
| Sets the value of the specified key. More...
|
|
void | setBool (const std::string &name, bool value) |
| Sets the value of the specified key as a bool. More...
|
|
void | setColor (const std::string &name, const QColor &value) |
| Sets the value of the specified key as a QColor. More...
|
|
void | setInt (const std::string &name, int value) |
| Sets the value of the specified key as an int. More...
|
|
template<typename... T> |
void | setValues (const std::string &name, T...values) |
| Sets the value of the specified key as an array. More...
|
|
void | setQString (const std::string &name, const QString &value) |
| Sets the value of the specified key as a QString. More...
|
|
bool | trySet (const std::string &name, const std::string &value) |
| Attempts to set the value of the specified key. More...
|
|
Represents the settings for a video source.
- Author
- Mika Lehtinen