| 1691 | } |
| 1692 | |
| 1693 | bool |
| 1694 | DataReaderImpl::have_view_states(DDS::ViewStateMask view_states) const |
| 1695 | { |
| 1696 | //!!!caller should have acquired sample_lock_ |
| 1697 | ACE_Guard<ACE_Recursive_Thread_Mutex> instance_guard(instances_lock_); |
| 1698 | return lookup_matching_instances(DDS::ANY_SAMPLE_STATE, view_states, DDS::ANY_INSTANCE_STATE).size(); |
| 1699 | } |
| 1700 | |
| 1701 | bool DataReaderImpl::have_instance_states( |
| 1702 | DDS::InstanceStateMask instance_states) const |