Class radex::unsupported_backend::Client¶
Inherits the following classes: radex::IClient
Public Functions¶
| Type | Name |
|---|---|
| Client (std::string backend_name, std::string enable_option) |
|
| bool | contains (std::string_view key) override |
Public Functions inherited from radex::IClient¶
See radex::IClient
| Type | Name |
|---|---|
| virtual bool | contains (std::string_view key) = 0 |
| void | delete_item (const data::OutgoingHandle & handle) Delete a typed value and its associated metadata. |
| virtual detail::BytesBuffer | get_bytes (std::string_view key) = 0 |
| std::unique_ptr< detail::ItemInfo > | get_item_info_ptr (const data::IncomingHandle & handle) |
| std::enable_if< data::is_supported_type< T >::value, T >::type | get_scalar (const data::IncomingHandle handle) |
| std::enable_if< data::is_supported_type< T >::value, TensorInfo< T > >::type | get_tensor (const data::IncomingHandle & handle) |
| virtual void | put_bytes (std::string_view key, const void * bytes, detail::MetaInt length) = 0 Store raw bytes under key , overwriting any existing value. |
| std::enable_if< data::is_supported_type< T >::value, void >::type | put_scalar (const data::OutgoingHandle & handle, const T & value) |
| std::enable_if< data::is_supported_type< T >::value, void >::type | put_tensor (const data::OutgoingHandle & handle, const std::vector< detail::MetaInt > & dims, const std::vector< T > & data) |
| std::enable_if< data::is_supported_type< T >::value, void >::type | put_tensor (const data::OutgoingHandle & handle, const detail::MetaInt * dims, detail::MetaInt n_dims, const T * elements, detail::MetaInt n_elements) |
| virtual detail::BytesBuffer | wait_for_bytes (std::string_view key, std::chrono::milliseconds timeout) = 0 |
| std::unique_ptr< detail::ItemInfo > | wait_for_item_info_ptr (const data::IncomingHandle & handle, std::chrono::milliseconds timeout) |
| std::enable_if< data::is_supported_type< T >::value, T >::type | wait_for_scalar (const data::IncomingHandle handle, std::chrono::milliseconds timeout) |
| std::enable_if< data::is_supported_type< T >::value, TensorInfo< T > >::type | wait_for_tensor (const data::IncomingHandle & handle, std::chrono::milliseconds timeout) |
| virtual | ~IClient () |
Protected Functions¶
| Type | Name |
|---|---|
| void | throw_backend_unavailable () const |
Detailed Description¶
Placeholder IClient used when a backend was disabled at build time; every method throws radex::BackendUnavailableError explaining how to rebuild with it enabled.
Public Functions Documentation¶
function Client¶
function contains¶
Protected Functions Documentation¶
function throw_backend_unavailable¶
The documentation for this class was generated from the following file include/radex/client_base.hpp