Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper Struct Reference

#include <at_factory.h>

Inheritance diagram for at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper:

Inheritance graph
[legend]
Collaboration diagram for at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper:

Collaboration graph
[legend]
List of all members.

Public Methods

 CreateWrapper (Creator3P *i_creator, StatusReport *o_srep=0, FactoryTraits::FactoryCreateReportingOption i_option=FactoryTraits::AllwaysReturn)
w_InterfaceType * operator() (w_arg_1 i_arg_1, w_arg_2 i_arg_2, w_arg_3 i_arg_3)

Public Attributes

Creator3Pm_creator

Detailed Description

template<typename w_InterfaceType, typename w_KeyType, typename w_arg_1, typename w_arg_2, typename w_arg_3>
struct at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper

CreateWrapper is a wrapper to control how objects are created. This is mainly a convenience to allow one liner factory find and create.


Constructor & Destructor Documentation

template<typename w_InterfaceType, typename w_KeyType, typename w_arg_1, typename w_arg_2, typename w_arg_3>
at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper::CreateWrapper Creator3P   i_creator,
StatusReport   o_srep = 0,
FactoryTraits::FactoryCreateReportingOption    i_option = FactoryTraits::AllwaysReturn
[inline]
 

CreateWrapper constructor takes a factory interface a status reporting interface and a modifier to indicate what to do on error.


Member Function Documentation

template<typename w_InterfaceType, typename w_KeyType, typename w_arg_1, typename w_arg_2, typename w_arg_3>
w_InterfaceType* at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper::operator() w_arg_1    i_arg_1,
w_arg_2    i_arg_2,
w_arg_3    i_arg_3
[inline]
 

operator w_InterfaceType *() invokes the factory create method. Unfortunately, this is specific to each type of paramters.


Member Data Documentation

template<typename w_InterfaceType, typename w_KeyType, typename w_arg_1, typename w_arg_2, typename w_arg_3>
Creator3P* at::Creator3P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >::CreateWrapper::m_creator
 

m_creator contains a pointer to the actual factory.


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004