Changeset 122 in pacpusframework for branches/2.0-beta1/include
- Timestamp:
- Jul 22, 2013, 11:45:45 PM (11 years ago)
- Location:
- branches/2.0-beta1/include/Pacpus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/include/Pacpus/PacpusTools/PacpusSerialPort.h
r121 r122 65 65 QString stopChar; 66 66 67 int minPacketSize; 68 69 bool log; 70 67 71 68 72 }; -
branches/2.0-beta1/include/Pacpus/kernel/inputOutputInterface.h
r119 r122 43 43 PacpusTypedEvent<T> * typedEvent = dynamic_cast<PacpusTypedEvent<T> *> (event); 44 44 45 qDebug() << "Revever " << getSignature() << " thread " << QThread::currentThread() << " Data & " << & typedEvent->data_;45 //qDebug() << "Reciever " << getSignature() << " thread " << QThread::currentThread() << " Data & " << & typedEvent->data_; 46 46 47 47 //if(_component) get state … … 54 54 switch (readingMode_){ 55 55 case TimeBounded: 56 qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("Time bournded").leftJustified(15) << road_time()- typedEvent->t_ << "\t" << typedEvent->tr_;56 //qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("Time bournded").leftJustified(15) << road_time()- typedEvent->t_ << "\t" << typedEvent->tr_; 57 57 58 58 if(road_time() - typedEvent->t_> typedEvent->tr_) … … 63 63 64 64 case GetLast: 65 qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("GetLast").leftJustified(15) << road_time() - typedEvent->t_ << "\t" << typedEvent->tr_;65 //qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("GetLast").leftJustified(15) << road_time() - typedEvent->t_ << "\t" << typedEvent->tr_; 66 66 67 67 (dynamic_cast<C*>(_component)->*method)(typedEvent->data_); … … 70 70 71 71 case NeverSkip: 72 qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("NeverSkip").leftJustified(15) << road_time() - typedEvent->t_ << "\t" << typedEvent->tr_;72 //qDebug() << "Input " << this->getSignature().leftJustified(20) << QString("NeverSkip").leftJustified(15) << road_time() - typedEvent->t_ << "\t" << typedEvent->tr_; 73 73 74 74 default: … … 138 138 for(QList<ConnectionBase>::iterator it = _connection.begin(); it!=_connection.end(); ++it){ 139 139 QApplication::postEvent(it->getInterface(),new PacpusTypedEvent<T>(TYPED_EVENT,data,t,tr),it->getPriority()); // Event is delete by the event loop handler 140 qDebug() << "sender " << it->getInterface()->getSignature() << " thread " << QThread::currentThread() << " Data & " << &data << " ";141 // TODO D Ata SHAred140 //qDebug() << "sender " << it->getInterface()->getSignature() << " thread " << QThread::currentThread() << " Data & " << &data << " "; 141 // TODO Data Shared 142 142 } 143 143 }
Note:
See TracChangeset
for help on using the changeset viewer.