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

This creator is meant to be used for classes with default constructor. More...

#include <wxcreator.h>

Inheritance diagram for WxCreator< D, B >:
WxCreatorBase< B > wxm::detail::creator_base

Detailed Description

template<class D, class B>
class WxCreator< D, B >

This creator is meant to be used for classes with default constructor.

Public Member Functions

 WxCreator (std::string name)
 
B * getNew ()
 calls constructors for derived class taking no arguments
 
- Public Member Functions inherited from WxCreatorBase< B >
 WxCreatorBase (std::string nm, const std::type_info *dtype)
 
virtual B * getNew ()=0
 calls constructors for derived class taking no arguments
 
- 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

◆ WxCreator()

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

Member Function Documentation

◆ getNew()

template<class D , class B >
B * WxCreator< D, B >::getNew ( )
inlinevirtual

calls constructors for derived class taking no arguments

Implements WxCreatorBase< B >.


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