|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
84 static const QStringList getComponentDirectories();
92 static const QStringList getActionDirectories();
100 static const QStringList getViewerDirectories();
114 static const QString getTestDataDir();
129 static const QStringList getInstallDirectories(QString suffix,
bool exitOnError =
true);
132 static const QString getConfig();
135 static const QString getPaths();
138 static const QString getGlobalInstallDir();
141 static const QString getUserInstallDir();
144 static const QString getCurrentWorkingDir();
147 static const QString getBugReport();
155 static const bool isDebugBuild();
162 static const char* version;
164 static const char* shortVersion;
166 static const char* soVersion;
168 static const char* debugPostfix;
176 static const char* libDir;
184 static const QStringList getExtensionDirectories(QString extensionType);
189 #endif // CAMITKCORE_H
static const char * shortVersion
short version string (all in lower case, without the patch number)
Definition: Core.h:210
static const QString getGlobalInstallDir()
get the CAMITK_DIR (where camitk-config is installed)
Definition: Core.cpp:376
static const QString getConfig()
get more information about installation, etc...
Definition: Core.cpp:145
static const QString getPaths()
get all important paths
Definition: Core.cpp:90
static QSettings & getSettings()
Get the Core wide settings.
Definition: Application.cpp:309
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK cor...
Definition: ComponentExtension.h:83
static const char * libDir
library folder set depending on the compiler and environement choice (it could be lib/ or lib64/ on L...
Definition: Core.h:222
static const QStringList getViewerDirectories()
get all the viewers directories.
Definition: Core.cpp:356
static const char * soVersion
version used for so name
Definition: Core.h:212
static const QString getBugReport()
get a well formed bug report with all necessary information
Definition: Core.cpp:428
static const QString getCurrentWorkingDir()
get the current working directory (during dev, this should be the build directory,...
Definition: Core.cpp:423
static const QString getTestDataDir()
Get a valid camitk test data directory name.
Definition: Core.cpp:361
static const QList< ViewerExtension * > getViewerExtensionsList()
Get the list of registered ViewerExtension.
Definition: ExtensionManager.cpp:536
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...
static const QString getUserInstallDir()
get the user config directory (this is the local installation directory)
Definition: Core.cpp:417
static const bool isDebugBuild()
Definition: Core.cpp:452
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
static const QList< ComponentExtension * > getComponentExtensionsList()
Get the list of registered ComponentExtension.
Definition: ExtensionManager.cpp:464
static const QStringList getInstallDirectories(QString suffix, bool exitOnError=true)
get all installation directories, suffixed by the given word.
Definition: Core.cpp:303
static const QStringList getExtensionDirectories(QString extensionType)
Used by getInstallDirectories to determine the list of extension repositories This method check both ...
Definition: Core.cpp:336
static const QStringList getComponentDirectories()
get all the component directories.
Definition: Core.cpp:351
static const QList< ComponentExtension * > getDataDirectoryComponentsList()
Get the list of registered ComponentExtension working on directory.
Definition: ExtensionManager.cpp:472
static QString getName()
get the application name
Definition: Application.cpp:203
#define CAMITK_ERROR_ALT(MSG)
Definition: Log.h:277
static QString getInstallationString(QString file, const QString &globalInstallDir, const QString &userInstallDir, const QString ¤tWorkingDir)
Returns a three char string that corresponds to the installation directory of a given shared library.
Definition: ExtensionManager.cpp:363
static const char * version
Definition: Core.h:208
QString getLocation() const
get the file path (location of the .dll/.so/.dylib) of this plugin
Definition: ComponentExtension.h:143
static const QList< ActionExtension * > getActionExtensionsList()
Get the list of registered ActionExtension.
Definition: ExtensionManager.cpp:498
static const QStringList getActionDirectories()
get all the action directories.
Definition: Core.cpp:346
virtual QString getName() const =0
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:35