24#include "ForwardDefinitions.h"
41 void unregisterFileDelegator(
const string& name);
46 const string& extraName,
47 const string& extraValue,
48 unique_ptr<FileDelegator>&& delegator);
49 void unregisterExtraDelegator(
const string& extraName,
const string& extraValue);
51 FileDelegator* getExtraDelegator(
const string& extraName,
const string& extraValue);
55 void unregisterFileHandler(
const string& fileHandlerName);
56 unique_ptr<FileHandler> getFileHandler(
const string& name);
80 virtual int delegateOpen(
const string& path, unique_ptr<FileHandler>& outNewDelegate);
94 map<string, unique_ptr<FileDelegator>> fileDelegatorMap_;
95 map<string, unique_ptr<FileHandler>> fileHandlerMap_;
96 map<string, map<string, unique_ptr<FileDelegator>>> extraDelegatorMap_;
Class to abstract the delegate file open operation for VRS file.
Definition FileDelegator.h:32
A factory system for FileHandlers, allowing the runtime registration & usage of custom FileHandler im...
Definition FileHandlerFactory.h:35
void registerExtraDelegator(const string &extraName, const string &extraValue, unique_ptr< FileDelegator > &&delegator)
Definition FileHandlerFactory.cpp:139
virtual int delegateOpen(const string &path, unique_ptr< FileHandler > &outNewDelegate)
Definition FileHandlerFactory.cpp:42
void registerFileDelegator(const string &name, unique_ptr< FileDelegator > &&delegator)
Delegators operating on FileSpec.fileHandlerName.
Definition FileHandlerFactory.cpp:127
void registerFileHandler(unique_ptr< FileHandler > &&fileHandler)
Delegators operating on FileSpec.fileHandlerName.
Definition FileHandlerFactory.cpp:105
virtual int parseUri(FileSpec &inOutFileSpec, size_t colonIndex)
Definition FileHandlerFactory.cpp:86
Definition AsyncDiskFileChunk.hpp:49
Generalized file descriptor class, allowing the efficient representation of complex file objects,...
Definition FileSpec.h:37