| 1182 | } |
| 1183 | |
| 1184 | void |
| 1185 | ConfigStoreImpl::unset_section(const String& prefix) const |
| 1186 | { |
| 1187 | const String cprefix = ConfigPair::canonicalize(prefix); |
| 1188 | |
| 1189 | ConfigReader::SampleSequence samples; |
| 1190 | DCPS::InternalSampleInfoSequence infos; |
| 1191 | config_reader_->read(samples, infos, DDS::LENGTH_UNLIMITED, |
| 1192 | DDS::ANY_SAMPLE_STATE, DDS::ANY_VIEW_STATE, DDS::ALIVE_INSTANCE_STATE); |
| 1193 | for (ConfigReader::SampleSequence::const_iterator pos = samples.begin(), limit = samples.end(); pos != limit; ++pos) { |
| 1194 | if (pos->key_has_prefix(cprefix)) { |
| 1195 | config_writer_->unregister_instance(*pos); |
| 1196 | } |
| 1197 | } |
| 1198 | } |
| 1199 | |
| 1200 | DDS::DataWriterQos ConfigStoreImpl::datawriter_qos() |
| 1201 | { |
no test coverage detected