Ignore:
Timestamp:
Jul 28, 2014, 4:11:30 PM (10 years ago)
Author:
Marek Kurdej
Message:

ComponentBase: added addParameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ProducerConsumerExample/ConsumerExample.cpp

    r293 r312  
    1717    LOG_TRACE("constructor(" << name << ")");
    1818
    19     addParameters()
    20         ("output-path", value<std::string>(&mOutputFileName)->default_value("consumer.txt"), "set output file path")
    21     ;
     19    addParameter("output-path", value<std::string>(&mOutputFileName)->default_value("consumer.txt"), "set output file path");
    2220}
    2321
Note: See TracChangeset for help on using the changeset viewer.