Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
anonymous_namespace{legacymodules.cpp} Namespace Reference

Description

Registers command-line modules for pre-5.0 binaries.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  ObsoleteToolModule
 Command line module that provides information about obsolescence. More...
 

Functions

void initSettingsNoNice (gmx::CommandLineModuleSettings *settings)
 Initializer for a module that defaults to nice level zero.
 
void registerModule (gmx::CommandLineModuleManager *manager, gmx::CommandLineModuleManager::CMainFunction mainFunction, const char *name, const char *shortDescription)
 Convenience function for creating and registering a module. More...
 
void registerModuleNoNice (gmx::CommandLineModuleManager *manager, gmx::CommandLineModuleManager::CMainFunction mainFunction, const char *name, const char *shortDescription)
 Convenience function for creating and registering a module that defaults to -nice 0. More...
 
void registerObsoleteTool (gmx::CommandLineModuleManager *manager, const char *name)
 Convenience function for registering a module for an obsolete tool. More...
 

Function Documentation

void anonymous_namespace{legacymodules.cpp}::registerModule ( gmx::CommandLineModuleManager manager,
gmx::CommandLineModuleManager::CMainFunction  mainFunction,
const char *  name,
const char *  shortDescription 
)

Convenience function for creating and registering a module.

Parameters
[in]managerModule manager to which to register the module.
[in]mainFunctionMain function to wrap.
[in]nameName for the new module.
[in]shortDescriptionOne-line description for the new module.
void anonymous_namespace{legacymodules.cpp}::registerModuleNoNice ( gmx::CommandLineModuleManager manager,
gmx::CommandLineModuleManager::CMainFunction  mainFunction,
const char *  name,
const char *  shortDescription 
)

Convenience function for creating and registering a module that defaults to -nice 0.

Parameters
[in]managerModule manager to which to register the module.
[in]mainFunctionMain function to wrap.
[in]nameName for the new module.
[in]shortDescriptionOne-line description for the new module.
void anonymous_namespace{legacymodules.cpp}::registerObsoleteTool ( gmx::CommandLineModuleManager manager,
const char *  name 
)

Convenience function for registering a module for an obsolete tool.

Parameters
[in]managerModule manager to which to register the module.
[in]nameName for the obsolete tool.