RVL::Factory< T > Class Template Reference

Standard factory interface - really a policy. More...

#include <utility.hh>

Inheritance diagram for RVL::Factory< T >:

RVL::Writeable RVL::DataContainerFactory RVL::SpaceDCF< Scalar > List of all members.

Public Member Functions

 Factory ()
 Factory (Factory< T > const &)
virtual ~Factory ()
virtual T * build () const =0
 generic build method

Detailed Description

template<typename T>
class RVL::Factory< T >

Standard factory interface - really a policy.

Should be able to say what it does, hence child of Writeable.

Definition at line 277 of file utility.hh.


Constructor & Destructor Documentation

template<typename T>
RVL::Factory< T >::Factory (  ) 

Definition at line 281 of file utility.hh.

template<typename T>
RVL::Factory< T >::Factory ( Factory< T > const &   ) 

Definition at line 282 of file utility.hh.

template<typename T>
virtual RVL::Factory< T >::~Factory (  )  [virtual]

Definition at line 283 of file utility.hh.


Member Function Documentation

template<typename T>
virtual T* RVL::Factory< T >::build (  )  const [pure virtual]

generic build method

Implemented in RVL::SpaceDCF< Scalar >.

Referenced by RVL::StdSpace< Scalar, DataType >::buildDataContainer(), and RVL::StdProductDataContainer::push().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RVL by  doxygen 1.4.7