ARC SDK
Public Member Functions

#include <arc/compute/SubmitterPlugin.h>

Inheritance diagram for Arc::SubmitterPluginLoader:

Public Member Functions

 SubmitterPluginLoader ()
 
 ~SubmitterPluginLoader ()
 
SubmitterPluginload (const std::string &name, const UserConfig &usercfg)
 
SubmitterPluginloadByInterfaceName (const std::string &name, const UserConfig &usercfg)
 
void initialiseInterfacePluginMap (const UserConfig &uc)
 
const std::map< std::string, std::string > & getInterfacePluginMap () const
 

Detailed Description

Class responsible for loading SubmitterPlugin plugins The SubmitterPlugin objects returned by a SubmitterPluginLoader must not be used after the SubmitterPluginLoader is destroyed.

Constructor & Destructor Documentation

◆ SubmitterPluginLoader()

Arc::SubmitterPluginLoader::SubmitterPluginLoader ( )

Constructor Creates a new SubmitterPluginLoader.

◆ ~SubmitterPluginLoader()

Arc::SubmitterPluginLoader::~SubmitterPluginLoader ( )

Destructor Calling the destructor destroys all SubmitterPlugins loaded by the SubmitterPluginLoader instance.

Member Function Documentation

◆ load()

SubmitterPlugin* Arc::SubmitterPluginLoader::load ( const std::string &  name,
const UserConfig usercfg 
)

Load a new SubmitterPlugin

Parameters
nameThe name of the SubmitterPlugin to load.
usercfgThe UserConfig object for the new SubmitterPlugin.
Returns
A pointer to the new SubmitterPlugin (NULL on error).

The documentation for this class was generated from the following file: