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

Method remove_topic_description

dds/InfoRepo/DCPS_IR_Domain.cpp:948–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946}
947
948int DCPS_IR_Domain::remove_topic_description(DCPS_IR_Topic_Description* desc)
949{
950 DCPS_IR_Topic_Description_Set::iterator where = topicDescriptions_.find(desc->get_name());
951
952 if (where != this->topicDescriptions_.end()) {
953 this->topicDescriptions_.erase(where);
954 return 0;
955
956 } else {
957 ACE_ERROR((LM_ERROR,
958 ACE_TEXT("(%P|%t) ERROR: DCPS_IR_Domain::remove_topic_description: ")
959 ACE_TEXT("unable to remove Topic Description 0x%x from domain %d.\n"),
960 desc,
961 id_));
962 return -1;
963 }
964}
965
966void DCPS_IR_Domain::add_dead_participant(DCPS_IR_Participant_rch participant)
967{

Callers

nothing calls this directly

Calls 4

findMethod · 0.45
get_nameMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected