Changeset 176 in pacpusframework for trunk/src/DBITEPlayerLib/DbtPlyFileManager.cpp


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

Added: addParameters() method in ComponentBase using Boost.Program_Options.
Each component can declare its parameters and they will be read automatically before configureComponent() method.
See example ProducerConsumerExample constructors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayerLib/DbtPlyFileManager.cpp

    r152 r176  
    181181void DbtPlyFileManager::displayUI()
    182182{
    183     LOG_WARN("component '" << name() << "' has no user interface. Please set ui property to 0 in your XML configuration");
     183    LOG_WARN("component '" << getName() << "' has no user interface. Please set ui property to 0 in your XML configuration");
    184184}
    185185
     
    301301    deltaTDbtTab_[(deltaTDbtTabLoop_++)%1000] = deltaT;
    302302    if (deltaT > kMaxPendingTimeFromEngineMicrosecs) {
    303         LOG_WARN(name() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us");
     303        LOG_WARN(getName() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us");
    304304        return;
    305305    }
Note: See TracChangeset for help on using the changeset viewer.