Gromacs
2024.4
|
#include <gromacs/commandline/tests/cmdlinemodulemanagertest.h>
Mock implementation of gmx::ICommandLineOptionsModule.
Additional Inherited Members | |
Public Types inherited from gmx::ICommandLineOptionsModule | |
typedef std::function < ICommandLineOptionsModulePointer()> | FactoryMethod |
Function pointer to a factory method that returns an interface of this type. More... | |
Public Member Functions inherited from gmx::ICommandLineOptionsModule | |
virtual void | init (CommandLineModuleSettings *settings)=0 |
Initializes the module and provides settings for the runner. More... | |
virtual void | initOptions (IOptionsContainer *options, ICommandLineOptionsModuleSettings *settings)=0 |
Initializes command-line arguments understood by the module. More... | |
virtual void | optionsFinished ()=0 |
Called after all option values have been set. More... | |
virtual int | run ()=0 |
Runs the module. More... | |
Static Public Member Functions inherited from gmx::ICommandLineOptionsModule | |
static std::unique_ptr < ICommandLineModule > | createModule (const char *name, const char *description, ICommandLineOptionsModulePointer module) |
Creates a ICommandLineModule to run the specified module. More... | |
static int | runAsMain (int argc, char *argv[], const char *name, const char *description, FactoryMethod factory) |
Implements a main() method that runs a single module. More... | |
static void | registerModuleFactory (CommandLineModuleManager *manager, const char *name, const char *description, FactoryMethod factory) |
Registers a module of a certain type to this manager. More... | |
static void | registerModuleDirect (CommandLineModuleManager *manager, const char *name, const char *description, ICommandLineOptionsModulePointer module) |
Registers a module to this manager. More... | |