Gromacs  2021.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
programcontext.cpp File Reference
#include "gmxpre.h"
#include "programcontext.h"
#include <cstddef>
+ Include dependency graph for programcontext.cpp:

Description

Implements gmx::IProgramContext and related methods.

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

Classes

class  gmx::anonymous_namespace{programcontext.cpp}::DefaultProgramContext
 Default implementation of IProgramContext. More...
 

Functions

const IProgramContext & gmx::getProgramContext ()
 Returns the global IProgramContext instance. More...
 
void gmx::setProgramContext (const IProgramContext *context)
 Sets the global IProgramContext instance. More...
 

Variables

const IProgramContext * gmx::anonymous_namespace{programcontext.cpp}::g_programContext
 Global program info; stores the object set with setProgramContext().
 
const DefaultProgramContext gmx::anonymous_namespace{programcontext.cpp}::g_defaultContext
 Default program context if nothing is set.