struct ov::device::Properties¶
Overview¶
Type for property to pass set of properties to specified device. More…
#include <properties.hpp>
struct Properties: public ov::Property
{
// methods
std::pair<std::string, Any> operator () (const AnyMap& config) const;
std::pair<std::string, Any> operator () (
const std::string& device_name,
const AnyMap& config
) const;
template <typename... Properties>
util::EnableIfAllStringAny<std::pair<std::string, Any>, Properties...> operator () (
const std::string& device_name,
Properties&&... configs
) const;
};
Inherited Members¶
public:
// structs
template <typename V>
struct Forward;
// methods
template <typename... Args>
std::pair<std::string, Any> operator () (Args&&... args) const;
Detailed Documentation¶
Type for property to pass set of properties to specified device.
Methods¶
std::pair<std::string, Any> operator () (const AnyMap& config) const
Constructs property.
Parameters:
configs |
set of property values with names |
Returns:
Pair of string key representation and type erased property value.
std::pair<std::string, Any> operator () (
const std::string& device_name,
const AnyMap& config
) const
Constructs property.
Parameters:
device_name |
device plugin alias |
config |
set of property values with names |
Returns:
Pair of string key representation and type erased property value.
template <typename... Properties>
util::EnableIfAllStringAny<std::pair<std::string, Any>, Properties...> operator () (
const std::string& device_name,
Properties&&... configs
) const
Constructs property.
Parameters:
Should be the pack of |
|
device_name |
device plugin alias |
configs |
Optional pack of pairs: (config parameter name, config parameter value) |
Returns:
Pair of string key representation and type erased property value.