11#include <QCoreApplication>
16#include "IException.h"
42 QString library = g[
"Library"];
47 QString pluginName = g[
"Routine"];
52 QLibrary lib(libraryFile.expanded());
53 bool loadedOk = lib.load();
56 path =
"$ISISROOT/lib/";
57 libraryFile = path + library;
60 lib.setFileName(libraryFile.expanded());
62 QFunctionPointer plugin = lib.resolve(pluginName.toLatin1().data());
64 QString msg =
"Unable to find plugin [" + pluginName +
65 "] in shared library [" + lib.fileName() +
"]";
File name manipulation and expansion.
@ Unknown
A type of error that cannot be classified as any of the other error types.
QFunctionPointer GetPlugin(const QString &group)
This method returns a void pointer to a C function (i.e., the plugin) It does this by looking in itse...
Plugin()
Constructs a Plugin object.
Contains multiple PvlContainers.
Container for cube-like labels.
PvlGroup & group(const int index)
Return the group at the specified index.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.