6#include <iolink/IOLinkAPI.h>
7#include <iolink/storage/RandomAccess.h>
8#include <iolink/storage/StreamAccess.h>
68 virtual const std::string&
source()
const = 0;
Describes a data source, that manages and opens DataAccess instances.
Definition: DataStorage.h:27
virtual std::shared_ptr< StreamAccess > openStreamAccess(const std::string &resourceId, AccessCapabilities capabilities)=0
Open a stream-like accessor to a given resource.
virtual std::shared_ptr< RandomAccess > openRandomAccess(const std::string &resourceId, AccessCapabilities capabilities)=0
Open an array-like accessor to a given resource.
virtual const std::string & source() const =0
Return a string that describe the storage's source of data.
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8
AccessCapabilities
Used to request capabilities for accessors.
Definition: DataStorage.h:17