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

Method have_instance_states

dds/DCPS/DataReaderImpl.cpp:1701–1707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1699}
1700
1701bool DataReaderImpl::have_instance_states(
1702 DDS::InstanceStateMask instance_states) const
1703{
1704 //!!!caller should have acquired sample_lock_
1705 ACE_Guard<ACE_Recursive_Thread_Mutex> instance_guard(instances_lock_);
1706 return lookup_matching_instances(DDS::ANY_SAMPLE_STATE, DDS::ANY_VIEW_STATE, instance_states).size();
1707}
1708
1709/// Fold-in the three separate loops of have_sample_states(),
1710/// have_view_states(), and have_instance_states(). Takes the sample_lock_.

Callers 1

get_datareadersMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected