#include <at_factory.h>
Inheritance diagram for at::Creator2P< w_InterfaceType, w_KeyType, w_arg_1, w_arg_2 >:


Public Methods | |
| Creator2P (w_KeyType i_key, const char *i_filename, int i_lineno, const char *i_description) | |
| virtual w_InterfaceType * | Create (w_arg_1 i_arg_1, w_arg_2 i_arg_2)=0 |
| virtual void | Destroy (w_InterfaceType *i_ptr)=0 |
| virtual w_InterfaceType * | Create (w_arg_1 i_arg_1, w_arg_2 i_arg_2, void *i_location)=0 |
|
||||||||||||||||||||||||
|
All creator constructors take their key.
|
|
||||||||||||||||||||
|
Create will invoke placement new - this method is overridden by the implementation specific class.
Implemented in at::CreatorImpl2P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1, w_arg_2 >. |
|
||||||||||||||||
|
Create will invoke the contructor directly - this method is overridden by the implementation specific class.
Implemented in at::CreatorImpl2P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1, w_arg_2 >. |
|
||||||||||
|
This supports objects with no virtual destructor (which is obviously a very rare case). This may be used in the case where a virtual method is not applicable, e.g. using shared memory. More support for the PIMPL idiom.
Implemented in at::CreatorImpl2P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1, w_arg_2 >. |
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004