Changeset 192 in pacpusframework for trunk/src/_NewComponent/NewComponent.cpp.in
- Timestamp:
- Oct 24, 2013, 3:32:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/_NewComponent/NewComponent.cpp.in
r147 r192 6 6 #include "@PACPUS_COMPONENT_NAME@.h" 7 7 8 #include <Pacpus/kernel/ComponentFactory.h> 8 9 #include <Pacpus/kernel/Log.h> 9 10 … … 23 24 { 24 25 LOG_TRACE("constructor(" << name << ")"); 26 27 namespace po = boost::program_options; 28 //addParameters() 29 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->required(), "parameter description") 30 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->default_value(0), "parameter description") 31 //; 25 32 } 26 33 … … 44 51 ComponentBase::COMPONENT_CONFIGURATION @PACPUS_COMPONENT_NAME@::configureComponent(XmlComponentConfig config) 45 52 { 46 recording = config.getIntProperty("verbose", kDefaultVerboseLevel);47 recording = config.getBoolProperty("recording");48 49 53 return ComponentBase::CONFIGURED_OK; 50 54 }
Note:
See TracChangeset
for help on using the changeset viewer.