Changeset 290 in pacpusframework for trunk/src/PacpusLib/ComponentBase.cpp
- Timestamp:
- Mar 27, 2014, 12:53:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentBase.cpp
r288 r290 17 17 #include <boost/program_options/parsers.hpp> 18 18 #include <boost/program_options/variables_map.hpp> 19 //#include <boost/thread/thread.hpp>20 19 #include <ostream> 21 20 #include <string> … … 245 244 } 246 245 247 InputInterfaceBase 246 InputInterfaceBase* ComponentBase::getInput(QString inputName) const 248 247 { 249 248 if (inputs().contains(inputName)) { 250 return inputs()[inputName] ;249 return inputs()[inputName].get(); 251 250 } 252 251 LOG_WARN("Component " << getName() << " does not contain input " << inputName); … … 254 253 } 255 254 256 OutputInterfaceBase 255 OutputInterfaceBase* ComponentBase::getOutput(QString outputName) const 257 256 { 258 257 if (outputs().contains(outputName)) { 259 return outputs()[outputName] ;258 return outputs()[outputName].get(); 260 259 } 261 260 LOG_WARN("Component " << getName() << " does not contain output " << outputName);
Note:
See TracChangeset
for help on using the changeset viewer.