This class describes what is a generic Component extension.
Definition ComponentExtension.h:60
QString getLocation() const
get the file path (location of the .dll/.so/.dylib) of this plugin
Definition ComponentExtension.h:120
virtual QString getName() const =0
virtual bool hasDataDirectory() const
return true if this component manages directory instead of individual files (e.g. Dicom series are st...
Definition ComponentExtension.h:115
~ComponentExtension() override=default
protected destructor,
virtual QString getDescription() const =0
get the plugin description
virtual Component * open(const QString &)=0
get a new instance from data stored in a file (this is the most important method to redefine in your ...
void setLocation(const QString loc)
set the file path (once loaded as a dynamic library)
Definition ComponentExtension.h:125
virtual QStringList getFileExtensions() const =0
get the list of managed extensions (each file with an extension in the list can be loaded by this Com...
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition sdk/libraries/core/component/Component.h:302