OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PropertyInputFactory Class Reference

#include "PropertyInputFactory.h"

Public Types

using PropertyInputConstructor = std::function<PropertyInput* ()>
 

Static Public Member Functions

static PropertyInputFactoryinstance (void)
 
static PropertyInputcreateInput (const std::string &_key)
 
static PropertyInputcreateInput (const Property *_config)
 
static bool registerPropertyInput (const std::string &_key, const PropertyInputConstructor &_constructor)
 

Member Typedef Documentation

◆ PropertyInputConstructor

Member Function Documentation

◆ createInput() [1/2]

ot::PropertyInput * ot::PropertyInputFactory::createInput ( const Property * _config)
static

◆ createInput() [2/2]

ot::PropertyInput * ot::PropertyInputFactory::createInput ( const std::string & _key)
static

◆ instance()

ot::PropertyInputFactory & ot::PropertyInputFactory::instance ( void )
static

◆ registerPropertyInput()

bool ot::PropertyInputFactory::registerPropertyInput ( const std::string & _key,
const PropertyInputConstructor & _constructor )
static

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