Ignore:
Timestamp:
Jul 15, 2013, 4:59:37 PM (11 years ago)
Author:
morasjul
Message:
  • add PacpusSerialport (QT 5.1 required)
  • add part of QT4 / QT5 cmake script
  • fix CMake (link)
  • add ComponentBase virtual function addInput() & addOutput() call before component configuration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusLib/ComponentManager.cpp

    r110 r120  
    263263            LOG_WARN("component '" << componentName << "' does not exist");
    264264        } else {
     265           // Pacpus 2.0 : add input and output
     266            component->addInput();
     267            component->addOutput();
     268
    265269            if (component->configuration_ == ComponentBase::CONFIGURATION_DELAYED) {
    266270                LOG_DEBUG("try to configure component '" << componentName << "'");
     
    299303        int connectionPriority = cfg.getConnectionPriority();
    300304
     305
     306        //TODO set connection mode from string
     307
     308        //InputInterfaceBase::GetLast;
     309        //InputInterfaceBase::NeverSkip;
     310        //InputInterfaceBase::TimeBounded;
     311
     312
    301313        if (!createConnection(connectionOutput, connectionInput, connectionType,connectionPriority)) {
    302314            LOG_ERROR("cannot create connection '" << connectionOutput+"=>"+connectionInput << "'");
    303315            continue;
    304316        }
    305     }
     317    } // for
    306318
    307319    return componentMap_.count();
Note: See TracChangeset for help on using the changeset viewer.