| 914 | } |
| 915 | |
| 916 | void |
| 917 | ManagerImpl::processUpdateQos1(const OwnerUpdate* sample, const DDS::SampleInfo* /* info */) |
| 918 | { |
| 919 | if (OpenDDS::DCPS::DCPS_debug_level > 9) { |
| 920 | OpenDDS::DCPS::RepoIdConverter converter(sample->participant); |
| 921 | ACE_DEBUG((LM_DEBUG, |
| 922 | ACE_TEXT("(%P|%t) Federator::ManagerImpl::processUpdateQos1( OwnerUpdate): ") |
| 923 | ACE_TEXT("repo %d - [ domain %d/ participant %C/ sender %d/ owner %d ]\n"), |
| 924 | this->id().id(), |
| 925 | sample->domain, |
| 926 | std::string(converter).c_str(), |
| 927 | sample->sender, |
| 928 | sample->owner)); |
| 929 | } |
| 930 | |
| 931 | if (false == this->info_->changeOwnership(sample->domain, |
| 932 | sample->participant, |
| 933 | sample->sender, |
| 934 | sample->owner)) { |
| 935 | { |
| 936 | ACE_GUARD(ACE_Thread_Mutex, |
| 937 | guard, |
| 938 | this->deferred_lock_); |
| 939 | |
| 940 | this->deferredOwnerships_.push_back(*sample); |
| 941 | } |
| 942 | ACE_DEBUG((LM_DEBUG, |
| 943 | ACE_TEXT("(%P|%t) Federator::ManagerImpl::processUpdateQos1( OwnerUpdate): ") |
| 944 | ACE_TEXT("deferred update.\n"))); |
| 945 | } |
| 946 | } |
| 947 | |
| 948 | void |
| 949 | ManagerImpl::processUpdateQos1(const PublicationUpdate* sample, const DDS::SampleInfo* /* info */) |
no test coverage detected