Piro  Development
 All Classes Namespaces Functions Variables Enumerations Groups
Public Member Functions | List of all members
Piro::ProviderBase< T > Class Template Referenceabstract

Generic abstract base class for an auxiliary object factory. More...

#include <Piro_ProviderBase.hpp>

Public Member Functions

virtual Teuchos::RCP< T > getInstance (const Teuchos::RCP< Teuchos::ParameterList > &params)=0
 Returns an owning pointer to an object of a subclass of T. More...
 
Constructor and destructor
 ProviderBase ()
 Empty default constructor.
 
virtual ~ProviderBase ()
 Virtual empty destructor.
 

Detailed Description

template<typename T>
class Piro::ProviderBase< T >

Generic abstract base class for an auxiliary object factory.

Implementing the ProviderBase interface is the most flexible approach to create concrete Provider objects.

Member Function Documentation

template<typename T >
virtual Teuchos::RCP<T> Piro::ProviderBase< T >::getInstance ( const Teuchos::RCP< Teuchos::ParameterList > &  params)
pure virtual

Returns an owning pointer to an object of a subclass of T.

The returned value may refer to a new instance, to an already existing – therefore possibly shared – one, or simply be the null pointer.


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