Changeset 293 in pacpusframework for trunk/examples/ProducerConsumerExample/ProducerExample.cpp
- Timestamp:
- Mar 27, 2014, 3:50:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProducerConsumerExample/ProducerExample.cpp
r291 r293 15 15 16 16 PACPUS_REGISTER_COMPONENT(ProducerExample); 17 18 static const char * outputFileName = "producer.txt";19 17 20 18 ProducerExample::ProducerExample(QString name) … … 62 60 using boost::ref; 63 61 64 std::fstream mFile( outputFileName, std::ios_base::out | std::ios_base::app);62 std::fstream mFile(mOutputFileName, std::ios_base::out | std::ios_base::app); 65 63 if (!mFile.is_open()) { 66 LOG_ERROR("file '" << outputFileName << "' cannot be opened");64 LOG_ERROR("file '" << mOutputFileName << "' cannot be opened"); 67 65 return; 68 66 }
Note:
See TracChangeset
for help on using the changeset viewer.