24 #ifndef SRC_XRDAPPS_RECORDPLUGIN_RECORDERPLUGIN_HH_
25 #define SRC_XRDAPPS_RECORDPLUGIN_RECORDERPLUGIN_HH_
46 auto itr = config->find(
"output" );
63 std::unique_ptr<Recorder> ptr(
new Recorder() );
66 return static_cast<FilePlugIn*
>( ptr.release() );
75 log->
Error(1,
"FileSystem plugin implementation not supported");
static Log * GetLog()
Get default log.
An interface for file plug-ins.
An interface for file plug-ins.
void Error(uint64_t topic, const char *format,...)
Report an error.
XrdCl recorder plug-in factory.
RecorderFactory(const std::map< std::string, std::string > *config)
virtual FilePlugIn * CreateFile(const std::string &url)
Create a file plug-in for the given URL.
virtual FileSystemPlugIn * CreateFileSystem(const std::string &url)
Create a file system plug-in for the given URL.
virtual ~RecorderFactory()
Destructor.
static void SetOutput(const std::string &cfgpath)