![]() |
stromx
0.8.0
|
Factory of operator and data objects. More...
#include <Factory.h>
Public Member Functions | |
| Factory (const Factory &factory) | |
| virtual void | registerOperator (const OperatorKernel *const op) |
| virtual void | registerData (const Data *data) |
| virtual OperatorKernel * | newOperator (const std::string &package, const std::string &type) const |
| virtual Data * | newData (const std::string &package, const std::string &type) const |
| virtual const std::vector< const OperatorKernel * > & | availableOperators () const |
| virtual const std::vector< const Data * > & | availableData () const |
Factory of operator and data objects.
| stromx::runtime::Factory::Factory | ( | const Factory & | factory | ) |
The copy constructors creates a deep-copy of the input factor, i.e. it clones all operators and data objects in input factory and assigns them to the new factory
|
inlinevirtual |
Returns a list of the data types registered with the factory.
Implements stromx::runtime::AbstractFactory.
|
inlinevirtual |
Returns a list of the operators registered with the factory.
Implements stromx::runtime::AbstractFactory.
|
virtual |
Allocates and returns a new data object.
Implements stromx::runtime::AbstractFactory.
|
virtual |
Allocates and returns a new operator.
Implements stromx::runtime::AbstractFactory.
|
virtual |
Registers a data object with the registry. The registry assumes ownership of data.
Implements stromx::runtime::Registry.
|
virtual |
Registers an operator kernel with the registry. The registry assumes ownership of op.
Implements stromx::runtime::Registry.
1.8.12