Changeset 117 in pacpusframework for trunk/include/Pacpus
- Timestamp:
- Jun 25, 2013, 1:50:46 PM (11 years ago)
- Location:
- trunk/include/Pacpus/kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/ComponentFactory.h
r116 r117 53 53 /// Ctor of ComponentFactory, initialize the factory of the components of type @em T. 54 54 /// @param type Name of the type of the components. 55 ComponentFactory(const QString & type);55 ComponentFactory(const QString & type); 56 56 57 57 /// Dtor of ComponentFactory. … … 60 60 /// Gets the name of the type of the components. 61 61 /// @returns Name of the type of the components. 62 const QString & getType() const;62 const QString & getType() const; 63 63 64 64 protected: 65 virtual ComponentBase * instantiateComponent(const QString& name);65 virtual ComponentBase * instantiateComponent(const QString& name); 66 66 67 67 private: … … 89 89 90 90 template<typename T> 91 ComponentBase * ComponentFactory<T>::instantiateComponent(const QString& name)91 ComponentBase * ComponentFactory<T>::instantiateComponent(const QString & name) 92 92 { 93 93 return new T(name); … … 96 96 } // namespace pacpus 97 97 98 #endif // DEF_PACPUS_ DBITEEXCEPTION_H98 #endif // DEF_PACPUS_COMPONENTFACTORY_H -
trunk/include/Pacpus/kernel/DbiteException.h
r116 r117 23 23 namespace pacpus { 24 24 25 /// DbiteException 26 /// @brief Exception thrown when an error manipulation a dbite file occured. 25 /// Exception thrown when an error during manipulation a dbite file occurs. 27 26 class FILELIB_API DbiteException 28 27 : virtual public PacpusException
Note:
See TracChangeset
for help on using the changeset viewer.