Changeset 30 in pacpusframework for trunk/src/PacpusLib/ComponentBase.cpp
- Timestamp:
- Jan 8, 2013, 5:32:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentBase.cpp
r3 r30 8 8 *********************************************************************/ 9 9 10 #include "kernel/ComponentBase.h" 10 #include <Pacpus/kernel/ComponentBase.h> 11 #include <Pacpus/kernel/ComponentManager.h> 12 #include <Pacpus/kernel/Log.h> 11 13 12 #include "kernel/ComponentManager.h" 13 #include "kernel/Log.h" 14 15 namespace pacpus { 14 using namespace pacpus; 16 15 17 16 DECLARE_STATIC_LOGGER("pacpus.core.ComponentBase"); 18 17 19 ComponentBase::ComponentBase( QStringname)18 ComponentBase::ComponentBase(const QString& name) 20 19 { 21 20 LOG_TRACE("constructor"); … … 40 39 LOG_TRACE("destructor"); 41 40 } 42 43 //TODO44 //COMPONENT_CONFIGURATION ComponentBase::configureComponent(XmlComponentConfig config)45 //{46 //}47 41 48 42 int ComponentBase::startComponent() … … 75 69 } 76 70 77 // return the state of the component71 // FIXME: this should be const. 78 72 ComponentBase::COMPONENT_STATE ComponentBase::getState() 79 73 { … … 85 79 } 86 80 87 } // namespace pacpus 81 bool ComponentBase::isConfigured() const 82 { 83 return CONFIGURED_OK == configuration_; 84 }
Note:
See TracChangeset
for help on using the changeset viewer.