WARPXM v1.10.0
Loading...
Searching...
No Matches
WxCreatorForChildren< D, B > Class Template Reference

This creator is meant to be used for classes that require a parent argument to their constructor. More...

#include <wxcreator.h>

Inheritance diagram for WxCreatorForChildren< D, B >:
WxCreatorForChildrenBase< B > wxm::detail::creator_base

Detailed Description

template<class D, class B>
class WxCreatorForChildren< D, B >

This creator is meant to be used for classes that require a parent argument to their constructor.

Public Member Functions

 WxCreatorForChildren (std::string name)
 
B * getNew (const WmConstOpaquePtr &parentPointer)
 calls constructors for derived class taking the one parentPointer argument
 
- Public Member Functions inherited from WxCreatorForChildrenBase< B >
 WxCreatorForChildrenBase (std::string nm, const std::type_info *dtype)
 
virtual B * getNew (const WmConstOpaquePtr &parentPointer)=0
 calls constructors for derived class taking the one parentPointer argument
 
- Public Member Functions inherited from wxm::detail::creator_base
 creator_base (std::string name, const std::type_info *dtype)
 
virtual ~creator_base ()=default
 

Additional Inherited Members

- Public Attributes inherited from wxm::detail::creator_base
std::string name_
 
const std::type_info * type_
 

Constructor & Destructor Documentation

◆ WxCreatorForChildren()

template<class D , class B >
WxCreatorForChildren< D, B >::WxCreatorForChildren ( std::string  name)
inline

Member Function Documentation

◆ getNew()

template<class D , class B >
B * WxCreatorForChildren< D, B >::getNew ( const WmConstOpaquePtr parentPointer)
inlinevirtual

calls constructors for derived class taking the one parentPointer argument

Implements WxCreatorForChildrenBase< B >.


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