| 946 | } |
| 947 | |
| 948 | int 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 | |
| 966 | void DCPS_IR_Domain::add_dead_participant(DCPS_IR_Participant_rch participant) |
| 967 | { |