User Manual, Developers Guide and API Documentation

wns::module::MultiTypeFactory< I > Class Template Reference

Factory that can return objects of different types.

#include <module/MultiTypeFactory.hpp>

Inheritance diagram for wns::module::MultiTypeFactory< I >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef
wns::ChamaeleonBase::BadCast 
BadCast

Public Member Functions

template<typename T>
get (const I &i)
 MultiTypeFactory ()
virtual ~MultiTypeFactory ()

Protected Member Functions

virtual ChamaeleonBasecreate (const I &i)=0


Detailed Description

template<typename I>
class wns::module::MultiTypeFactory< I >

Definition at line 39 of file MultiTypeFactory.hpp.


Member Typedef Documentation

Definition at line 42 of file MultiTypeFactory.hpp.


Constructor & Destructor Documentation

template<typename I>
wns::module::MultiTypeFactory< I >::MultiTypeFactory (  )  [inline]

Definition at line 43 of file MultiTypeFactory.hpp.

template<typename I>
virtual wns::module::MultiTypeFactory< I >::~MultiTypeFactory (  )  [inline, virtual]

Definition at line 47 of file MultiTypeFactory.hpp.


Member Function Documentation

template<typename I>
virtual ChamaeleonBase* wns::module::MultiTypeFactory< I >::create ( const I &  i  )  [protected, pure virtual]

Implemented in wns::module::Base.

template<typename I>
template<typename T>
T wns::module::MultiTypeFactory< I >::get ( const I &  i  )  [inline]

Definition at line 52 of file MultiTypeFactory.hpp.


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

Generated on Sun May 27 03:33:00 2012 for openWNS by  doxygen 1.5.5