Changeset 312 in pacpusframework for trunk/examples/ProducerConsumerExample
- Timestamp:
- Jul 28, 2014, 4:11:30 PM (10 years ago)
- Location:
- trunk/examples/ProducerConsumerExample
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProducerConsumerExample/ConsumerExample.cpp
r293 r312 17 17 LOG_TRACE("constructor(" << name << ")"); 18 18 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"); 22 20 } 23 21 -
trunk/examples/ProducerConsumerExample/ProducerExample.cpp
r301 r312 23 23 PACPUS_LOG_FUNCTION(); 24 24 25 namespace po = boost::program_options; 26 27 addParameters() 28 ("output-path", po::value<std::string>(&mOutputFileName)->default_value("producer.txt"), "set output file path") 29 ; 25 addParameter("output-path", value<std::string>(&mOutputFileName)->default_value("producer.txt"), "set output file path"); 30 26 } 31 27
Note:
See TracChangeset
for help on using the changeset viewer.