MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / ~DataReaderImpl

Method ~DataReaderImpl

dds/DCPS/DataReaderImpl.cpp:134–149  ·  view source on GitHub ↗

This method is called when there are no longer any reference to the the servant.

Source from the content-addressed store, hash-verified

132// This method is called when there are no longer any reference to the
133// the servant.
134DataReaderImpl::~DataReaderImpl()
135{
136 DBG_ENTRY_LVL("DataReaderImpl", "~DataReaderImpl", 6);
137
138 deadline_task_->cancel();
139
140#ifndef OPENDDS_SAFETY_PROFILE
141 RcHandle<DomainParticipantImpl> participant = participant_servant_.lock();
142 if (participant) {
143 XTypes::TypeLookupService_rch type_lookup_service = participant->get_type_lookup_service();
144 if (type_lookup_service) {
145 type_lookup_service->remove_guid_from_dynamic_map(subscription_id_);
146 }
147 }
148#endif
149}
150
151// this method is called when delete_datareader is called.
152void

Callers

nothing calls this directly

Calls 3

cancelMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected