$extrastylesheet
libMesh::Singleton::Setup Class Reference

#include <libmesh_singleton.h>

List of all members.

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 50 of file libmesh_singleton.h.


Constructor & Destructor Documentation

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

Definition at line 73 of file libmesh_singleton.C.

{
  get_setup_cache().push_back (this);
}
virtual libMesh::Singleton::Setup::~Setup ( ) [inline, virtual]

Destructor.

Definition at line 62 of file libmesh_singleton.h.

{}

Member Function Documentation

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: