CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AbstractFactoryImpl< ConcreteProductT, AbstractProductT, ParameterT, InfoT > Class Template Reference

#include <plugin.h>

Inheritance diagram for AbstractFactoryImpl< ConcreteProductT, AbstractProductT, ParameterT, InfoT >:
Collaboration diagram for AbstractFactoryImpl< ConcreteProductT, AbstractProductT, ParameterT, InfoT >:

Private Member Functions

InfoT Introspect () const
 

Additional Inherited Members

- Public Member Functions inherited from AbstractFactoryImpl2< ConcreteProductT, AbstractProductT, ParameterT, InfoT >
bool WillHandle (const ParameterT &param) const
 
AbstractProductT * Construct (const ParameterT &param) const
 
- Public Member Functions inherited from AbstractFactory< AbstractProductT, ParameterT, InfoT >
 AbstractFactory ()
 
virtual ~AbstractFactory ()
 

Detailed Description

template<class ConcreteProductT, class AbstractProductT, typename ParameterT, typename InfoT>
class AbstractFactoryImpl< ConcreteProductT, AbstractProductT, ParameterT, InfoT >

Template to add an implementation of Introspect() based on the type of InfoT. Generally Introspect() will call ConcreteProductT::GetInfo() and return it's result. However if InfoT = void, this method still needs to be stubbed. (See also the template specialization for InfoT = void below)

Definition at line 86 of file plugin.h.

Member Function Documentation

template<class ConcreteProductT , class AbstractProductT , typename ParameterT , typename InfoT >
InfoT AbstractFactoryImpl< ConcreteProductT, AbstractProductT, ParameterT, InfoT >::Introspect ( ) const
inlineprivatevirtual

Implements AbstractFactory< AbstractProductT, ParameterT, InfoT >.

Definition at line 92 of file plugin.h.


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