29 #ifndef __ARCSFACTORY_H__
30 #define __ARCSFACTORY_H__
32 #include <arcs/arcslibmanager.h>
34 #include <arcs/arcsnativefamily.h>
68 bool loadLibrary(QString path);
71 void unLoadLibrary(QString path);
102 QString getComponentLibrary(QString s);
110 QStringList getLibraryComponents(QString s);
117 QString getVariantType(QVariant var);
120 QString getInternalType(QString s);
128 QString getTypeLibrary(QString s);
131 QString getFamilyLibrary(QString s);
135 QVariant dataDeserialize(QString type, QString representation);
138 QString dataSerialize(QVariant var);
145 void buildComponentLists();
152 ARCSFamilyMap families;
156 QMap<QString, QString> typeLibraryMap ;
157 QMap<QString, QString> nativeComponentLibraryMap ;
158 QMap<QString, QString> familyLibraryMap ;
159 QMap<QString, QString> variantTypeMap;
161 QMap<QString, QString> componentFamilyMap ;
162 QStringList components;
164 QHash<QString,ARCSLibManager*> libraries;
170 #endif //__ARCSFACTORY_H__
QStringList getComponentNames()
Returns the class names of the components currently stored.
QStringList getLibraryNames()
Returns the names of the currently loaded libraries.
QStringList getFamilyNames()
Returns the names of the family currently stored.
Class handling the generic description of a component.
A singleton handling all needed factories in ARCS runtime.
Generic class describing how type factories should be implemented.
QStringList getTypeNames()
Returns the names of the types currently stored.
Native family handling native components inside ARCS runtime.
Abstract class representing a family of components i.e. a factory of factories of components...