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

Method have_sample_states

dds/DCPS/DataReaderImpl.cpp:1685–1691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1683}
1684
1685bool DataReaderImpl::have_sample_states(
1686 DDS::SampleStateMask sample_states) const
1687{
1688 //!!!caller should have acquired sample_lock_
1689 ACE_Guard<ACE_Recursive_Thread_Mutex> instance_guard(instances_lock_);
1690 return lookup_matching_instances(sample_states, DDS::ANY_VIEW_STATE, DDS::ANY_INSTANCE_STATE).size();
1691}
1692
1693bool
1694DataReaderImpl::have_view_states(DDS::ViewStateMask view_states) const

Callers 2

get_datareadersMethod · 0.45
notify_datareadersMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected