Changeset 177 in pacpusframework


Ignore:
Timestamp:
Oct 11, 2013, 2:42:31 PM (11 years ago)
Author:
Marek Kurdej
Message:

Update: minor.

Location:
trunk
Files:
3 edited

Legend:

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

    r176 r177  
    66#include <Pacpus/kernel/InputOutputInterface.h>
    77#include <Pacpus/kernel/Log.h>
    8 #include <QColor>
    98
    109using namespace pacpus;
     
    5857    LOG_TRACE(Q_FUNC_INFO);
    5958
    60     //Q_ASSERT(input);
    61 
    6259    start();
    6360    setActive(true);
     
    8279    std::fstream file(outputFileName, std::ios_base::out | std::ios_base::app);
    8380    if (!file.is_open()) {
    84         LOG_ERROR("file '" << outputFileName << "'cannot be opened");
     81        LOG_ERROR("file '" << outputFileName << "' cannot be opened");
    8582    }
    8683
  • trunk/include/Pacpus/kernel/ComponentBase.h

    r176 r177  
    220220
    221221    /// is the component is recording data?
    222     bool m_isRecording;
     222    bool mIsRecording;
    223223
    224224    /// a pointer to the manager of components
  • trunk/src/PacpusLib/ComponentBase.cpp

    r176 r177  
    4343        ("verbose", po::value<bool>(&mVerbose)->default_value(false), "set output verbose")
    4444        ("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")
    4646    ;
    4747}
     
    6464bool ComponentBase::isRecording() const
    6565{
    66     return m_isRecording;
     66    return mIsRecording;
    6767}
    6868
    6969void ComponentBase::setRecording(bool isRecording)
    7070{
    71     m_isRecording = isRecording;
     71    mIsRecording = isRecording;
    7272}
    7373
Note: See TracChangeset for help on using the changeset viewer.