Loading Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +13 −13 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void MixerOperator::loadComponents() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -71,7 +71,7 @@ void MixerOperator::loadComponents() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs loading failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading @@ -88,7 +88,7 @@ void MixerOperator::releaseComponents() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -99,7 +99,7 @@ void MixerOperator::releaseComponents() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs release failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading @@ -124,7 +124,7 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } /**/ Loading Loading @@ -180,7 +180,7 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) throw impl; } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } m_current_value= p_values[0]; Loading @@ -203,7 +203,7 @@ double MixerOperator::getValue() return 0.0; #endif } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } return l_freq; Loading @@ -215,7 +215,7 @@ bool MixerOperator::isLocked() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -227,7 +227,7 @@ bool MixerOperator::isLocked() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs loading failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading Loading @@ -258,19 +258,19 @@ void MixerOperator::loadDevice(Receivers::LocalOscillator_var p_loDev, const cha m_mixer_fault= false; } catch (maciErrType::CannotGetComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; } catch (maciErrType::NoPermissionExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; } catch (maciErrType::NoDefaultComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; Loading @@ -290,7 +290,7 @@ void MixerOperator::releaseDevice(Receivers::LocalOscillator_var p_loDev, m_services->releaseComponent((const char*)p_lo_name); } catch (maciErrType::CannotReleaseComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntReleaseComponentExImpl,Impl,ex,"MixerOperator::unloadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntReleaseComponentExImpl,Impl,dummy,"MixerOperator::unloadLocalOscillator()"); Impl.setComponentName(p_lo_name); Impl.log(LM_WARNING); } Loading Loading
Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +13 −13 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void MixerOperator::loadComponents() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -71,7 +71,7 @@ void MixerOperator::loadComponents() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs loading failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading @@ -88,7 +88,7 @@ void MixerOperator::releaseComponents() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -99,7 +99,7 @@ void MixerOperator::releaseComponents() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs release failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading @@ -124,7 +124,7 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } /**/ Loading Loading @@ -180,7 +180,7 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) throw impl; } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } m_current_value= p_values[0]; Loading @@ -203,7 +203,7 @@ double MixerOperator::getValue() return 0.0; #endif } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } return l_freq; Loading @@ -215,7 +215,7 @@ bool MixerOperator::isLocked() if (! m_configuration ){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs configuration not provided!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } const char * m_1st_name= m_configuration->getLocalOscillatorInstance1st(); Loading @@ -227,7 +227,7 @@ bool MixerOperator::isLocked() }catch(...){ ACS_LOG(LM_FULL_INFO,"MixerOperator::loadComponents()", (LM_NOTICE,"LOs loading failed!")); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,ex,"MixerOperator::setLO()"); _ADD_BACKTRACE(ReceiversErrors::LocalOscillatorErrorExImpl,impl,dummy,"MixerOperator::setLO()"); throw impl; } #else Loading Loading @@ -258,19 +258,19 @@ void MixerOperator::loadDevice(Receivers::LocalOscillator_var p_loDev, const cha m_mixer_fault= false; } catch (maciErrType::CannotGetComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; } catch (maciErrType::NoPermissionExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; } catch (maciErrType::NoDefaultComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,ex,"MixerOperator::loadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntGetComponentExImpl,Impl,dummy,"MixerOperator::loadLocalOscillator()"); Impl.setComponentName((const char*)p_lo_name); p_loDev= Receivers::LocalOscillator::_nil(); throw Impl; Loading @@ -290,7 +290,7 @@ void MixerOperator::releaseDevice(Receivers::LocalOscillator_var p_loDev, m_services->releaseComponent((const char*)p_lo_name); } catch (maciErrType::CannotReleaseComponentExImpl& ex) { _ADD_BACKTRACE(ComponentErrors::CouldntReleaseComponentExImpl,Impl,ex,"MixerOperator::unloadLocalOscillator()"); _ADD_BACKTRACE(ComponentErrors::CouldntReleaseComponentExImpl,Impl,dummy,"MixerOperator::unloadLocalOscillator()"); Impl.setComponentName(p_lo_name); Impl.log(LM_WARNING); } Loading