netxsimdg
Loading...
Searching...
No Matches
Module.hpp File Reference
#include "include/ConfigurationHelp.hpp"
#include "include/ConfiguredModule.hpp"
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
Include dependency graph for Module.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Module::Module< I >
 

Typedefs

typedef std::list< Nextsim::ConfigurationHelpModule::OptionMap
 
typedef std::map< std::string, OptionMap > Module::HelpMap
 
using Module::ConfigType = Nextsim::ConfigurationHelp::ConfigType
 

Functions

template<typename I >
std::unique_ptr< I > Module::getInstance ()
 
template<typename I >
I & Module::getImplementation ()
 
template<typename I >
void Module::setImplementation (const std::string &)
 
template<typename Int , typename Imp >
std::unique_ptr< Int > Module::newImpl ()
 
template<typename I , typename M >
I & Module::getImplTemplate ()
 
template<typename M >
void Module::setImplTemplate (const std::string &implName)
 
template<typename I , typename M >
std::unique_ptr< I > Module::getInstTemplate ()
 
template<typename I >
HelpMap & Module::getHelpRecursive (HelpMap &map, bool getAll)
 
template<typename I , typename M >
void Module::addToConfiguredModules ()
 
template<typename I >
std::string Module::implementation ()
 

Detailed Description

Date
Feb 14, 2022
Author
Tim Spain timot.nosp@m.hy.s.nosp@m.pain@.nosp@m.ners.nosp@m.c.no

Definition in file Module.hpp.

Typedef Documentation

◆ ConfigType

using Module::ConfigType = Nextsim::ConfigurationHelp::ConfigType

Definition at line 45 of file Module.hpp.

◆ HelpMap

typedef std::map<std::string, OptionMap> Module::HelpMap

Definition at line 44 of file Module.hpp.

◆ OptionMap

typedef std::list<Nextsim::ConfigurationHelp> Module::OptionMap

Definition at line 43 of file Module.hpp.

Function Documentation

◆ addToConfiguredModules()

template<typename I , typename M >
void Module::addToConfiguredModules ( )

Definition at line 106 of file Module.hpp.

◆ getImplTemplate()

template<typename I , typename M >
I & Module::getImplTemplate ( )

Definition at line 34 of file Module.hpp.

◆ getInstTemplate()

template<typename I , typename M >
std::unique_ptr< I > Module::getInstTemplate ( )

Definition at line 41 of file Module.hpp.

◆ implementation()

template<typename I >
std::string Module::implementation ( )

Definition at line 112 of file Module.hpp.

◆ newImpl()

template<typename Int , typename Imp >
std::unique_ptr< Int > Module::newImpl ( )

Definition at line 29 of file Module.hpp.

◆ setImplTemplate()

template<typename M >
void Module::setImplTemplate ( const std::string & implName)

Definition at line 36 of file Module.hpp.