Subclass of FactoryBase.
More...
|
typedef T *(* | Creator) (P0, P1, P2) |
|
template<class T, class P0, class P1, class P2>
class Factory3Param< T, P0, P1, P2 >
Subclass of FactoryBase.
<>
◆ Creator
template<class T , class P0 , class P1 , class P2 >
typedef T*(* Factory3Param< T, P0, P1, P2 >::Creator) (P0, P1, P2) |
◆ addCreator()
template<class T , class P0 , class P1 , class P2 >
Name may be be null If nm is found, old creator is replaced. nm can be a SeparString, separated by cSeparator(), allowing multiple names, where the first name will be the main name that is returned in getNames.
◆ create()
template<class T , class P0 , class P1 , class P2 >
T * Factory3Param< T, P0, P1, P2 >::create |
( |
const char * |
nm, |
|
|
P0 |
p0, |
|
|
P1 |
p1, |
|
|
P2 |
p2, |
|
|
bool |
chknm = true |
|
) |
| const |
|
inline |
Name may be be null, if null name is given chknm will be forced to false
◆ creators_
template<class T , class P0 , class P1 , class P2 >