ARC SDK
|
#include <arc/compute/SubmitterPlugin.h>
Public Member Functions | |
SubmitterPluginLoader () | |
~SubmitterPluginLoader () | |
SubmitterPlugin * | load (const std::string &name, const UserConfig &usercfg) |
SubmitterPlugin * | loadByInterfaceName (const std::string &name, const UserConfig &usercfg) |
void | initialiseInterfacePluginMap (const UserConfig &uc) |
const std::map< std::string, std::string > & | getInterfacePluginMap () const |
Class responsible for loading SubmitterPlugin plugins The SubmitterPlugin objects returned by a SubmitterPluginLoader must not be used after the SubmitterPluginLoader is destroyed.
Arc::SubmitterPluginLoader::SubmitterPluginLoader | ( | ) |
Constructor Creates a new SubmitterPluginLoader.
Arc::SubmitterPluginLoader::~SubmitterPluginLoader | ( | ) |
Destructor Calling the destructor destroys all SubmitterPlugins loaded by the SubmitterPluginLoader instance.
SubmitterPlugin* Arc::SubmitterPluginLoader::load | ( | const std::string & | name, |
const UserConfig & | usercfg | ||
) |
Load a new SubmitterPlugin
name | The name of the SubmitterPlugin to load. |
usercfg | The UserConfig object for the new SubmitterPlugin. |