void AmFmPmBasebandDemod_i::configure(const CF::Properties & props) throw (CORBA::SystemException, CF::PropertySet::InvalidConfiguration, CF::PropertySet::PartialConfiguration) { debugOut("configure() entry"); AmFmPmBasebandDemod_base::configure(props); for (CORBA::ULong i=0; i< props.length(); ++i) { const std::string id = (const char*) props[i].id; PropertyInterface* property = getPropertyFromId(id); if (property->id=="squelch") { squelchThreshold = std::pow(10.0,squelch / 10); } else if (property->id=="freqDeviation" || property->id=="phaseDeviation") { DemodParamsChanged = true; } } if(debug) { std::cout <<"AmFmPmBasebandDemod_i::configure() - freqDeviation = "<<freqDeviation<<std::endl; std::cout <<"AmFmPmBasebandDemod_i::configure() - phaseDeviation = "<<phaseDeviation<<std::endl; std::cout <<"AmFmPmBasebandDemod_i::configure() - squelch = "<<squelch<<std::endl; std::cout <<"AmFmPmBasebandDemod_i::configure() - squelchThreshold = "<<squelchThreshold<<std::endl; std::cout <<"AmFmPmBasebandDemod_i::configure() - debug = "<<debug<<std::endl; } }
void TestCppsoftpkgDeps::propertyChanged (const std::string& id) { // Mark the property as changed. PropertyInterface* property = getPropertyFromId(id); testCallbackResults.insert(id); }