libMesh::Singleton::Setup Class Referenceabstract

#include <libmesh_singleton.h>

Public Member Functions

virtual ~Setup ()
 
virtual void setup ()=0
 

Protected Member Functions

 Setup ()
 

Detailed Description

Abstract base class for runtime singleton setup. This will be called from the LibMeshInit constructor.

Definition at line 55 of file libmesh_singleton.h.

Constructor & Destructor Documentation

◆ Setup()

libMesh::Singleton::Setup::Setup ( )
protected

Constructor. Adds the derived object to the setup cache list.

Definition at line 74 of file libmesh_singleton.C.

75 {
76  get_setup_cache().push_back (this);
77 }

◆ ~Setup()

virtual libMesh::Singleton::Setup::~Setup ( )
inlinevirtual

Destructor.

Definition at line 67 of file libmesh_singleton.h.

67 {}

Member Function Documentation

◆ setup()

virtual void libMesh::Singleton::Setup::setup ( )
pure virtual

Setup method. Importantly, this is called after main() from the LibMeshInit constructor.


The documentation for this class was generated from the following files: