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

Method ~SubscriberImpl

dds/DCPS/SubscriberImpl.cpp:62–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62SubscriberImpl::~SubscriberImpl()
63{
64 const RcHandle<DomainParticipantImpl> participant = participant_.lock();
65 if (participant) {
66 participant->return_handle(handle_);
67 }
68
69 // The datareaders should be deleted already before calling delete
70 // subscriber.
71 String leftover_entities;
72 if (!is_clean(&leftover_entities)) {
73 if (log_level >= LogLevel::Warning) {
74 ACE_ERROR((LM_WARNING, "(%P|%t) WARNING: SubscriberImpl::~SubscriberImpl: "
75 "%C still exist\n", leftover_entities.c_str()));
76 }
77 }
78}
79
80DDS::InstanceHandle_t
81SubscriberImpl::get_instance_handle()

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
return_handleMethod · 0.45

Tested by

no test coverage detected