cvedia::rt::data_collection::DataCollectionBackendImpl¶
Inherits from DataCollectionBackend
Public Functions¶
| Name | |
|---|---|
| std::unique_ptr< DataCollectionBackend > | create(std::string const & backendUrl) |
| DataCollectionBackendImpl(std::string backendUrl ="") | |
| virtual NODISCARD expected< CollectionConfig > | getConfig() const override |
| virtual NODISCARD expected< CollectionConfig > | uploadMetaData(nlohmann::json const & metaData) const override |
Protected Attributes¶
| Name | |
|---|---|
| std::string | backendUrl_ |
| std::string | basePath_ |
| std::unique_ptr< httplib::Client > | client_ |
Additional inherited members¶
Public Functions inherited from DataCollectionBackend
| Name | |
|---|---|
| DataCollectionBackend() =default | |
| virtual | ~DataCollectionBackend() =default |
| DataCollectionBackend(DataCollectionBackend && ) =default | |
| DataCollectionBackend(DataCollectionBackend const & ) =delete | |
| DataCollectionBackend & | operator=(const DataCollectionBackend & ) =delete |
| DataCollectionBackend & | operator=(DataCollectionBackend && ) =delete |
Public Functions Documentation¶
function create¶
static std::unique_ptr< DataCollectionBackend > create(
std::string const & backendUrl
)
function DataCollectionBackendImpl¶
DataCollectionBackendImpl(
std::string backendUrl =""
)
function getConfig¶
virtual NODISCARD expected< CollectionConfig > getConfig() const override
Reimplements: cvedia::rt::data_collection::DataCollectionBackend::getConfig
function uploadMetaData¶
virtual NODISCARD expected< CollectionConfig > uploadMetaData(
nlohmann::json const & metaData
) const override
Reimplements: cvedia::rt::data_collection::DataCollectionBackend::uploadMetaData
Protected Attributes Documentation¶
variable backendUrl_¶
std::string backendUrl_;
variable basePath_¶
std::string basePath_;
variable client_¶
std::unique_ptr< httplib::Client > client_;
Updated on 2025-10-21 at 08:11:05 +0000