Skip to content
Snippets Groups Projects
Commit 5b56e73f authored by Tomasz Kozak's avatar Tomasz Kozak
Browse files

removed doPreRead() / doPreWrite() , doPostRead() / doPostWrite() from...

removed doPreRead() / doPreWrite() , doPostRead() / doPostWrite() from ExceptionHandlingDecorator - tests are now failing
parent a61bfdbf
No related branches found
No related tags found
No related merge requests found
......@@ -34,13 +34,9 @@ namespace ChimeraTK {
TransferFuture doReadTransferAsync() override;
void doPreRead() override;
void doPostRead() override;
void doPreWrite() override;
void doPostWrite() override;
//void doPreRead() override;
DataValidity dataValidity() const override;
void interrupt() override;
......
......@@ -98,25 +98,14 @@ namespace ChimeraTK {
return future;
}
/*
template<typename UserType>
void ExceptionHandlingDecorator<UserType>::doPreRead() {
genericTransfer([this]() { return ChimeraTK::NDRegisterAccessorDecorator<UserType>::doPreRead(), true; });
}
template<typename UserType>
void ExceptionHandlingDecorator<UserType>::doPostRead() {
genericTransfer([this]() { return ChimeraTK::NDRegisterAccessorDecorator<UserType>::doPostRead(), true; });
}
template<typename UserType>
void ExceptionHandlingDecorator<UserType>::doPreWrite() {
genericTransfer([this]() { return ChimeraTK::NDRegisterAccessorDecorator<UserType>::doPreWrite(), true; }, false);
}
template<typename UserType>
void ExceptionHandlingDecorator<UserType>::doPostWrite() {
genericTransfer([this]() { return ChimeraTK::NDRegisterAccessorDecorator<UserType>::doPostWrite(), true; }, false);
}
*/
template<typename UserType>
DataValidity ExceptionHandlingDecorator<UserType>::dataValidity() const {
......@@ -142,5 +131,12 @@ namespace ChimeraTK {
}
INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(ExceptionHandlingDecorator);
/*
template<typename UserType>
void ExceptionHandlingDecorator<UserType>::doPostRead() {
genericTransfer([this]() { return ChimeraTK::NDRegisterAccessorDecorator<UserType>::doPostRead(), true; });
}
*/
} /* namespace ChimeraTK */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment