VirtualFileProvider

class kanzi::connect::VirtualFileProvider

Generic provider API definition class. Used as traditional c++ interface.

Subclassed by ContentManager, ServiceManager, ServiceRuntimeDataRegistry

Public Functions

inline virtual ~VirtualFileProvider()

Virtual destructor for cleanup.

inline virtual void cancelAllPendingRequests()
virtual void provideFile(const string &path, VirtualFileResponseSharedPtr response) = 0

Invoked when there is a requirement to provide a file.

Parameters
  • path – requested path.

  • response – the response object that is to be completed within the callback. Object must not be stored by called entity.