Changeset 61 in pacpusframework for trunk/include/Pacpus/kernel/ComponentBase.h
- Timestamp:
- Jan 9, 2013, 1:40:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/ComponentBase.h
r42 r61 90 90 */ 91 91 virtual COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config) = 0; 92 93 // The XML node that is got in the configureComponent method 92 93 protected: 94 /// The XML node that is got in the configureComponent method 94 95 XmlComponentConfig param; 95 96 96 // the name of the component. It is this one in the XML config file97 /// the name of the component. It is this one in the XML config file 97 98 QString componentName; 98 99 99 // is the component is recording data?100 /// is the component is recording data? 100 101 bool recording; 101 102 102 // provided for compatibility with old DBITE framework103 /// provided for compatibility with old DBITE framework 103 104 bool THREAD_ALIVE; 104 105 105 // is the component active?106 /// is the component active? 106 107 bool mIsActive; 107 108 108 // a pointer to the manager of components109 /// a pointer to the manager of components 109 110 ComponentManager * mgr; 110 111 111 112 private: 112 // called by the ComponentManager to start the component113 /// called by the ComponentManager to start the component 113 114 int startComponent(); 114 115 115 // called by the ComponentManager to stop the component116 /// called by the ComponentManager to stop the component 116 117 int stopComponent(); 117 118 118 // store the state of the component119 /// store the state of the component 119 120 COMPONENT_STATE componentState_; 120 121 121 // is the component configured (ie configureComponent method was called)122 /// is the component configured (ie configureComponent method was called) 122 123 COMPONENT_CONFIGURATION configuration_; 123 124 };
Note:
See TracChangeset
for help on using the changeset viewer.