| 2287 | } |
| 2288 | |
| 2289 | DDS::InstanceHandle_t |
| 2290 | DataReaderImpl::get_next_handle(const DDS::BuiltinTopicKey_t& key) |
| 2291 | { |
| 2292 | RcHandle<DomainParticipantImpl> participant = this->participant_servant_.lock(); |
| 2293 | if (!participant) |
| 2294 | return DDS::HANDLE_NIL; |
| 2295 | |
| 2296 | if (is_bit()) { |
| 2297 | const GUID_t id = bit_key_to_guid(key); |
| 2298 | return participant->assign_handle(id); |
| 2299 | |
| 2300 | } else { |
| 2301 | return participant->assign_handle(); |
| 2302 | } |
| 2303 | } |
| 2304 | |
| 2305 | void DataReaderImpl::return_handle(DDS::InstanceHandle_t handle) |
| 2306 | { |
nothing calls this directly
no test coverage detected