Changeset 177 in pacpusframework
- Timestamp:
- Oct 11, 2013, 2:42:31 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProducerConsumerExample/ProducerExample.cpp
r176 r177 6 6 #include <Pacpus/kernel/InputOutputInterface.h> 7 7 #include <Pacpus/kernel/Log.h> 8 #include <QColor>9 8 10 9 using namespace pacpus; … … 58 57 LOG_TRACE(Q_FUNC_INFO); 59 58 60 //Q_ASSERT(input);61 62 59 start(); 63 60 setActive(true); … … 82 79 std::fstream file(outputFileName, std::ios_base::out | std::ios_base::app); 83 80 if (!file.is_open()) { 84 LOG_ERROR("file '" << outputFileName << "' cannot be opened");81 LOG_ERROR("file '" << outputFileName << "' cannot be opened"); 85 82 } 86 83 -
trunk/include/Pacpus/kernel/ComponentBase.h
r176 r177 220 220 221 221 /// is the component is recording data? 222 bool m _isRecording;222 bool mIsRecording; 223 223 224 224 /// a pointer to the manager of components -
trunk/src/PacpusLib/ComponentBase.cpp
r176 r177 43 43 ("verbose", po::value<bool>(&mVerbose)->default_value(false), "set output verbose") 44 44 ("verbosity-level", po::value<int>(&mVerbosityLevel)->default_value(0), "set verbosity level") 45 ("recording", po::value<bool>(&m _isRecording)->default_value(false), "whether to record data")45 ("recording", po::value<bool>(&mIsRecording)->default_value(false), "whether to record data") 46 46 ; 47 47 } … … 64 64 bool ComponentBase::isRecording() const 65 65 { 66 return m _isRecording;66 return mIsRecording; 67 67 } 68 68 69 69 void ComponentBase::setRecording(bool isRecording) 70 70 { 71 m _isRecording = isRecording;71 mIsRecording = isRecording; 72 72 } 73 73
Note:
See TracChangeset
for help on using the changeset viewer.