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

Method decrement_not_read_count

dds/DCPS/ReceivedDataElementList.cpp:302–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void OpenDDS::DCPS::ReceivedDataElementList::decrement_not_read_count()
303{
304 OPENDDS_ASSERT(not_read_sample_count_);
305 --not_read_sample_count_;
306 if (!not_read_sample_count_) {
307 sample_states_ &= (~DDS::NOT_READ_SAMPLE_STATE);
308 DataReaderImpl_rch reader(reader_.lock());
309 if (reader) {
310 reader->state_updated(instance_state_->instance_handle());
311 }
312 }
313}
314
315bool OpenDDS::DCPS::ReceivedDataElementList::sanity_check()
316{

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
state_updatedMethod · 0.45

Tested by

no test coverage detected