Changeset 16 in pacpusframework for trunk/src/PacpusLib/ComponentManager.cpp
- Timestamp:
- Jan 8, 2013, 1:51:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentManager.cpp
r15 r16 54 54 } 55 55 56 bool ComponentManager::registerComponentFactory(ComponentFactoryBase * addr, QStringtype)56 bool ComponentManager::registerComponentFactory(ComponentFactoryBase* addr, const QString& type) 57 57 { 58 58 LOG_TRACE("registerComponentFactory(type="<< type << ")"); … … 71 71 } 72 72 73 bool ComponentManager::unRegisterComponentFactory( QStringtype)73 bool ComponentManager::unRegisterComponentFactory(const QString& type) 74 74 { 75 75 LOG_TRACE("unRegisterComponentFactory(type="<< type << ")"); … … 87 87 } 88 88 89 bool ComponentManager::registerComponent(ComponentBase * addr, QStringname)89 bool ComponentManager::registerComponent(ComponentBase* addr, const QString& name) 90 90 { 91 91 LOG_TRACE("registerComponent(name="<< name << ")"); … … 103 103 } 104 104 105 bool ComponentManager::unRegisterComponent( QStringname)105 bool ComponentManager::unRegisterComponent(const QString& name) 106 106 { 107 107 LOG_TRACE("unRegisterComponent(name="<< name << ")"); … … 121 121 } 122 122 123 bool ComponentManager::createComponent( QString type, QStringname)123 bool ComponentManager::createComponent(const QString& type, const QString& name) 124 124 { 125 125 LOG_TRACE("createComponent(type=" << type << ", " << "name="<< name << ")"); … … 136 136 } 137 137 138 bool ComponentManager::loadPlugin( QStringfilename)138 bool ComponentManager::loadPlugin(const QString& filename) 139 139 { 140 140 LOG_TRACE("loadPlugin(filename=" << filename << ")"); … … 163 163 } 164 164 165 std::size_t ComponentManager::loadComponents( QStringconfigFilename)165 std::size_t ComponentManager::loadComponents(const QString& configFilename) 166 166 { 167 167 LOG_TRACE("loadComponents(filename=" << configFilename << ")"); … … 265 265 } 266 266 267 int ComponentManager::start( QStringcomponentName)267 int ComponentManager::start(const QString& componentName) 268 268 { 269 269 LOG_TRACE("start(component=" << componentName << ")"); … … 297 297 } 298 298 299 int ComponentManager::stop( QStringcomponentName)299 int ComponentManager::stop(const QString& componentName) 300 300 { 301 301 LOG_TRACE("stop(component=" << componentName << ")"); … … 318 318 } 319 319 320 ComponentBase * ComponentManager::getComponent(QStringname)320 ComponentBase* ComponentManager::getComponent(const QString& name) 321 321 { 322 322 LOG_TRACE("getComponent(name=" << name << ")");
Note:
See TracChangeset
for help on using the changeset viewer.