Changeset 216 in pacpusframework for trunk/src/_NewComponent/NewComponent.cpp.in
- Timestamp:
- Nov 8, 2013, 12:20:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/_NewComponent/NewComponent.cpp.in
r194 r216 5 5 6 6 #include "@PACPUS_COMPONENT_NAME@.h" 7 #include "@PACPUS_COMPONENT_NAME@Impl.h" 7 8 8 9 #include <Pacpus/kernel/ComponentFactory.h> … … 12 13 using namespace std; 13 14 14 DECLARE_STATIC_LOGGER("pacpus. base.@PACPUS_COMPONENT_NAME@");15 DECLARE_STATIC_LOGGER("pacpus.@PACPUS_COMPONENT_NAME@"); 15 16 16 17 /// Constructs a static component factory 17 18 static ComponentFactory<@PACPUS_COMPONENT_NAME@> sFactory("@PACPUS_COMPONENT_NAME@"); 18 19 static const int kDefaultVerboseLevel = 1;20 19 21 20 ////////////////////////////////////////////////////////////////////////// … … 25 24 LOG_TRACE("constructor(" << name << ")"); 26 25 27 namespace po = boost::program_options;28 26 //addParameters() 29 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->required(), "parameter description")30 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->default_value(0), "parameter description")27 //("parameter-name", value<ParameterType>(&mImpl->mParameterVariable)->required(), "parameter description") 28 //("parameter-name", value<ParameterType>(&mImpl->mParameterVariable)->default_value(0), "parameter description") 31 29 //; 32 30 } … … 53 51 void @PACPUS_COMPONENT_NAME@::startActivity() 54 52 { 53 mImpl->start(); 55 54 } 56 55 57 56 void @PACPUS_COMPONENT_NAME@::stopActivity() 58 57 { 58 mImpl->stop(); 59 59 } 60 60 … … 64 64 return ComponentBase::CONFIGURED_OK; 65 65 } 66 67 ////////////////////////////////////////////////////////////////////////// 68 //void @PACPUS_COMPONENT_NAME@::processInput(InputType const& input) 69 //{ 70 // mImpl->processInput(input); 71 //}
Note:
See TracChangeset
for help on using the changeset viewer.