Changeset 102 in pacpusframework for branches/2.0-beta1/include/Pacpus/kernel/inputOutputBase.h
- Timestamp:
- 06/03/13 18:13:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/include/Pacpus/kernel/inputOutputBase.h
r100 r102 47 47 //InputInterfaceBase(QString name, ComponentBase * component,int a, QObject * parent = 0):AbstractInterface(name,component,parent) {} // TODO add ctor with function pointer 48 48 49 enum ReadingMode { 50 NeverSkip, 51 TimeBounded, 52 GetLast 53 }; 54 49 55 virtual ~InputInterfaceBase(){} 50 56 … … 60 66 } 61 67 68 void setReadingMode(ReadingMode mode) { readingMode_ = mode;} 62 69 virtual PacpusEvent getEventTemplate() {return PacpusEvent(GENERIC_EVENT);} // TODO check ?? 63 70 protected: 71 ReadingMode readingMode_; 64 72 }; 65 73 … … 103 111 in->addConnection(ConnectionBase(out,priority)); 104 112 //LOG_INFO("connection : Output " << out->getSignature() << " => Input " << in->getSignature()); 113 in->setReadingMode(InputInterfaceBase::NeverSkip); 105 114 return true; 106 115 } else {
Note:
See TracChangeset
for help on using the changeset viewer.