MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / unset_section

Method unset_section

dds/DCPS/ConfigStoreImpl.cpp:1184–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1182}
1183
1184void
1185ConfigStoreImpl::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
1200DDS::DataWriterQos ConfigStoreImpl::datawriter_qos()
1201{

Callers 6

shutdownMethod · 0.80
TESTFunction · 0.80
RtpsUdpTypeMethod · 0.80
~RtpsUdpTypeMethod · 0.80
AddressTestMethod · 0.80
~AddressTestMethod · 0.80

Calls 4

readMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
unregister_instanceMethod · 0.45

Tested by

no test coverage detected