libMesh
|
Base class for all library singleton objects. More...
#include <libmesh_singleton.h>
Classes | |
class | Setup |
Abstract base class for runtime singleton setup. More... | |
Static Public Member Functions | |
static void | setup () |
Setup function. More... | |
static void | cleanup () |
Cleanup function. More... | |
Protected Member Functions | |
Singleton () | |
Constructor. More... | |
virtual | ~Singleton ()=default |
Destructor. More... | |
Base class for all library singleton objects.
Definition at line 35 of file libmesh_singleton.h.
|
protected |
Constructor.
Adds the derived object to the singleton cache list.
Definition at line 61 of file libmesh_singleton.C.
|
protectedvirtualdefault |
Destructor.
|
static |
Cleanup function.
Removes all dynamically created Singleton
objects.
Definition at line 88 of file libmesh_singleton.C.
References libMesh::as_range(), and libMesh::libmesh_assert().
Referenced by libMesh::LibMeshInit::~LibMeshInit().
|
static |
Setup function.
Initializes any derived Singleton::Setup
objects. objects.
Definition at line 75 of file libmesh_singleton.C.
References libMesh::libmesh_assert().