oneVPL++
C++ API Prototype for oneVPL
oneapi::vpl::property Class Reference

Represents implementation properties for the dispatcher. More...

#include <options.hpp>

Collaboration diagram for oneapi::vpl::property:
[legend]

Public Member Functions

 property ()
 Default ctor.
 
template<typename T >
 property (property_name &name, T value)
 Constucts property with given name and the value. More...
 
template<typename T >
 property (std::string &name, T value)
 Constucts property with given name and the value. More...
 
 property (const property &other)
 Copy ctor. More...
 
virtual ~property ()
 Dtor.
 
propertyoperator= (const property &other)
 Assignment operator. More...
 
mfxVariantType get_type () const
 Returns type of the property's value. More...
 
std::string get_name () const
 Returns name of the property's value. More...
 
mfxVariant::data get_data () const
 Returns property's value. More...
 
mfxVariant GetValue () const
 Converts propery into mfxVariant type. More...
 

Protected Attributes

std::string name_
 Name of the property.
 
detail::variant value_
 Value of the property.
 

Detailed Description

Represents implementation properties for the dispatcher.

Constructor & Destructor Documentation

◆ property() [1/3]

template<typename T >
oneapi::vpl::property::property ( property_name name,
value 
)
inline

Constucts property with given name and the value.

Template Parameters
TType of the value
Parameters
[in]nameName of the property
[in]valueValue

◆ property() [2/3]

template<typename T >
oneapi::vpl::property::property ( std::string &  name,
value 
)
inline

Constucts property with given name and the value.

Template Parameters
TType of the value
Parameters
[in]nameName of the property
[in]valueValue

◆ property() [3/3]

oneapi::vpl::property::property ( const property other)
inline

Copy ctor.

Parameters
[in]otheranother object to use as data source

Member Function Documentation

◆ get_data()

mfxVariant::data oneapi::vpl::property::get_data ( ) const
inline

Returns property's value.

Returns
Property's value
Here is the call graph for this function:

◆ get_name()

std::string oneapi::vpl::property::get_name ( ) const
inline

Returns name of the property's value.

Returns
Name of the property's value
Here is the caller graph for this function:

◆ get_type()

mfxVariantType oneapi::vpl::property::get_type ( ) const
inline

Returns type of the property's value.

Returns
Type of the property's value
Here is the call graph for this function:

◆ GetValue()

mfxVariant oneapi::vpl::property::GetValue ( ) const
inline

Converts propery into mfxVariant type.

Returns
Property type and value
Here is the call graph for this function:

◆ operator=()

property& oneapi::vpl::property::operator= ( const property other)
inline

Assignment operator.

Parameters
[in]otheranother object to use as data source
Returns
Reference to this object
Here is the call graph for this function:

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