Changeset 14 in pacpussensors for trunk/ExampleComponent
- Timestamp:
- Jul 2, 2013, 12:33:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ExampleComponent/ExampleComponent.cpp
r12 r14 5 5 6 6 #include "${<PROJECT_NAME>}.h" 7 8 #include <kernel/Log.h> 7 9 8 10 using namespace pacpus; … … 13 15 /// Constructs a static component factory 14 16 static ComponentFactory<${<PROJECT_NAME>}> sFactory("${<PROJECT_NAME>}"); 17 18 static const int kDefaultVerboseLevel = 1; 15 19 16 20 ////////////////////////////////////////////////////////////////////////// … … 40 44 ComponentBase::COMPONENT_CONFIGURATION ${<PROJECT_NAME>}::configureComponent(XmlComponentConfig config) 41 45 { 46 recording = config.getIntProperty("verbose", kDefaultVerboseLevel); 47 recording = config.getBoolProperty("recording"); 48 42 49 return ComponentBase::CONFIGURED_OK; 43 50 }
Note:
See TracChangeset
for help on using the changeset viewer.