Changeset 181 in pacpusframework for trunk/src/PacpusLib


Ignore:
Timestamp:
Oct 21, 2013, 1:30:41 PM (11 years ago)
Author:
Marek Kurdej
Message:

Minor fixes. Clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/ComponentBase.cpp

    r180 r181  
    1313#include <string>
    1414#include <vector>
     15
     16const bool kPropertyVerboseDefaultValue = false;
    1517
    1618namespace po = boost::program_options;
     
    178180    LOG_WARN("Component " << getName() << " does not containt output " << outputName);
    179181    return NULL;
     182}
     183
     184bool ComponentBase::hasGui() const
     185{
     186    return mHasGui;
     187}
     188
     189bool ComponentBase::isOutputVerbose() const
     190{
     191    return mVerbose || (getVerbosityLevel() > 0);
     192}
     193
     194int ComponentBase::getVerbosityLevel() const
     195{
     196    return mVerbosityLevel;
    180197}
    181198
Note: See TracChangeset for help on using the changeset viewer.