Changeset 192 in pacpusframework for trunk/src/_NewComponent/NewComponent.cpp.in


Ignore:
Timestamp:
Oct 24, 2013, 3:32:18 PM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: NewComponent modifications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/_NewComponent/NewComponent.cpp.in

    r147 r192  
    66#include "@PACPUS_COMPONENT_NAME@.h"
    77
     8#include <Pacpus/kernel/ComponentFactory.h>
    89#include <Pacpus/kernel/Log.h>
    910
     
    2324{   
    2425    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    //;
    2532}
    2633
     
    4451ComponentBase::COMPONENT_CONFIGURATION @PACPUS_COMPONENT_NAME@::configureComponent(XmlComponentConfig config)
    4552{
    46     recording = config.getIntProperty("verbose", kDefaultVerboseLevel);
    47     recording = config.getBoolProperty("recording");
    48 
    4953    return ComponentBase::CONFIGURED_OK;
    5054}
Note: See TracChangeset for help on using the changeset viewer.