OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::GraphicsItemFactoryRegistrar< T > Class Template Reference

The GraphicsItemFactoryRegistrar is used to register a GraphicsItem constructor at the GraphicsItemFactory. More...

#include "GraphicsItemFactory.h"

Inheritance diagram for ot::GraphicsItemFactoryRegistrar< T >:
ot::FactoryRegistrarTemplate< GraphicsItemFactory, T >

Public Member Functions

 GraphicsItemFactoryRegistrar (const std::string &_key)
 
- Public Member Functions inherited from ot::FactoryRegistrarTemplate< GraphicsItemFactory, T >
 FactoryRegistrarTemplate (const std::string &_key)
 Constructor.
 
virtual ~FactoryRegistrarTemplate ()
 Destructor. When called the constructor will be deregistered from the factory.
 
const std::string & getKey (void) const
 Get the constructor key.
 

Detailed Description

template<class T>
class ot::GraphicsItemFactoryRegistrar< T >

The GraphicsItemFactoryRegistrar is used to register a GraphicsItem constructor at the GraphicsItemFactory.

Note
Note that the key used to register must be equal to the configraion equivalent (see GraphicsItemCfg).

Constructor & Destructor Documentation

◆ GraphicsItemFactoryRegistrar()

template<class T >
ot::GraphicsItemFactoryRegistrar< T >::GraphicsItemFactoryRegistrar ( const std::string & _key)
inline

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