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>const AnyMap& operator () () const;
    std::pair<std::string, Any>const std::string&const AnyMap& operator () (, ) const;

    template <>
    util::EnableIfAllStringAny<std::pair<std::string, Any>, Properties...>const std::string&Properties&&... operator () (
        ,

        ) const;
};

Inherited Members

public:
    // structs

    template <>
    struct Forward;

    // methods

    template <>
    std::pair<std::string, Any>Args&&... operator () () const;

Detailed Documentation

Type for property to pass set of properties to specified device.

Methods

std::pair<std::string, Any>const AnyMap& operator () () 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>const std::string&const AnyMap& operator () (, ) 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 <>
util::EnableIfAllStringAny<std::pair<std::string, Any>, Properties...>const std::string&Properties&&... operator () (
    ,

    ) const

Constructs property.

Parameters:

Properties

Should be the pack of std::pair<std::string, ov::Any> types

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.