#include <singleton.hh>
Public Member Functions | |
InstancePointer () | |
Construct a null pointer. | |
~InstancePointer () | |
Delete the instance we point to. | |
T * | get () |
Get a pointer to the instance. | |
void | set (T *pointer) |
Set the pointer. |
T* Dune::Singleton< T >::InstancePointer::get | ( | ) | [inline] |
Get a pointer to the instance.
Referenced by Dune::Singleton< T >::instance().
void Dune::Singleton< T >::InstancePointer::set | ( | T * | pointer | ) | [inline] |
Set the pointer.
pointer | A pointer to the instance. |
Referenced by Dune::Singleton< T >::instance().