[Qt-interest] How to create object instance knowing only its class name in a QString?
frares at gmail.com
frares at gmail.com
Mon Jan 30 13:57:43 CET 2012
Hi, all.
How do I instantiate an object knowing its class name in a QString and that
all similar classes are derived from a "facade" super class?
I am trying to build a (as much as possible) generic interface for math
processing libraries, so I am thinking on the overall architecture.
As for these libraries, I thought on a creating "facade" classes for, say,
a "ILibrary" class, which would be, roughly, a manager for a list
of "IAlgorithm" classes, carrying generics on how to send back and forth
input parameters and output results, name of the specific classes (as
each "IAlgorithim" may appear 0, 1 or more times in a specific image
processing task) and ID containers, to identify each instance.
Any hints?
Thanks
Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120130/80ef9f05/attachment.html
More information about the Qt-interest-old
mailing list