Changeset 202 in pacpusframework for trunk/src/PacpusLib/ComponentManager.cpp
- Timestamp:
- Oct 29, 2013, 3:40:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentManager.cpp
r201 r202 17 17 #include <QDomNodeList> 18 18 #include <QObject> 19 #include <QList> 20 #include <ostream> 19 21 20 22 using namespace pacpus; 23 24 template <typename _Elem, typename _Traits, typename _ListElem> 25 std::basic_ostream<_Elem, _Traits> & operator<<(std::basic_ostream<_Elem, _Traits> & os, const QList<_ListElem> & list) 26 { 27 typedef QList<_ListElem> ListType; 28 for (ListType::const_iterator it = list.cbegin(), itend = list.cend(); it != itend; ++it) { 29 os << *it << "\n"; 30 } 31 return os; 32 } 21 33 22 34 DECLARE_STATIC_LOGGER("pacpus.core.ComponentManager"); … … 316 328 } 317 329 318 // Pacpus 2.0 :add inputs and outputs330 // add inputs and outputs 319 331 component->addInputs(); 320 332 component->addOutputs(); 333 // print inputs and outputs 334 LOG_INFO("Inputs: " << component->inputs().keys()); 335 LOG_INFO("Outputs: " << component->outputs().keys()); 321 336 322 337 if (ComponentBase::CONFIGURATION_DELAYED == component->configurationState()) {
Note:
See TracChangeset
for help on using the changeset viewer.