6 #ifndef KNOWROB_DATA_SOURCE_HANDLER_H_
7 #define KNOWROB_DATA_SOURCE_HANDLER_H_
20 class DataSourceHandler {
void addDataHandler(const std::string &format, const DataSourceLoader &fn)
virtual ~DataSourceHandler()=default
virtual bool loadDataSourceWithUnknownFormat(const DataSourcePtr &)
std::map< std::string, DataSourceLoader > dataSourceHandler_
bool hasDataHandler(const DataSourcePtr &dataSource) const
DataSourceHandler()=default
bool loadDataSource(const DataSourcePtr &dataSource)
FunctionRule & function()
std::function< bool(const DataSourcePtr &)> DataSourceLoader
std::shared_ptr< DataSource > DataSourcePtr