IOLink  IOL_v1.6.1_release
iolink::StreamAccessProvider Class Reference

Utility class to check and convert a DataAccess into a StreamAccess. More...

#include <iolink/storage/StreamAccessProvider.h>

Static Public Member Functions

static bool isStreamAccess (std::shared_ptr< DataAccess > accessor) noexcept
 Checks if DataAccess is a StreamAccess.
 
static std::shared_ptr< StreamAccesstoStream (std::shared_ptr< DataAccess > storage) noexcept
 

Detailed Description

Utility class to check and convert a DataAccess into a StreamAccess.

Member Function Documentation

◆ toStream()

static std::shared_ptr<StreamAccess> iolink::StreamAccessProvider::toStream ( std::shared_ptr< DataAccess storage)
inlinestaticnoexcept
  • * Return a StreamAccess if the DataAccess supports it.
  • *
  • * If it does not support this interface, returns null.


The documentation for this class was generated from the following file: