|
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 () |
| Destructor. More... | |
Base class for all library singleton objects.
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 65 of file libmesh_singleton.C.
|
inlineprotectedvirtual |
|
static |
Cleanup function.
Removes all dynamically created Singleton objects.
Definition at line 96 of file libmesh_singleton.C.
References libMesh::as_range(), and libMesh::libmesh_assert().
|
static |
Setup function.
Initializes any derived Singleton::Setup objects. objects.
Definition at line 81 of file libmesh_singleton.C.
References libMesh::libmesh_assert().
Referenced by libMesh::LibMeshInit::LibMeshInit().
1.8.16