OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
PropertyFactoryRegistrar.hpp
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
// OpenTwin header
7
#include "
OTGui/PropertyFactory.h
"
8
#include "
OTGui/PropertyFactoryRegistrar.h
"
9
10
template
<
class
T>
11
ot::PropertyFactoryRegistrar<T>::PropertyFactoryRegistrar
(
const
std::string& _key) {
12
PropertyFactory::registerProperty(_key, []() {
return
new
T; });
13
}
PropertyFactory.h
PropertyFactoryRegistrar.h
ot::PropertyFactoryRegistrar::PropertyFactoryRegistrar
PropertyFactoryRegistrar(const std::string &_key)
Definition
PropertyFactoryRegistrar.hpp:11
Libraries
OTGui
include
OTGui
PropertyFactoryRegistrar.hpp
Generated by
1.10.0