00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 namespace OpenDDS { 00009 namespace DCPS { 00010 00011 ACE_INLINE 00012 Discovery::RepoKey 00013 Service_Participant::domain_to_repo(const DDS::DomainId_t domain) const 00014 { 00015 DomainRepoMap::const_iterator where = this->domainRepoMap_.find(domain); 00016 00017 if (where == this->domainRepoMap_.end()) { 00018 return Discovery::DEFAULT_REPO; 00019 00020 } else { 00021 return where->second; 00022 } 00023 } 00024 00025 ACE_INLINE 00026 DDS::UserDataQosPolicy 00027 Service_Participant::initial_UserDataQosPolicy() const 00028 { 00029 return initial_UserDataQosPolicy_; 00030 } 00031 00032 ACE_INLINE 00033 DDS::TopicDataQosPolicy 00034 Service_Participant::initial_TopicDataQosPolicy() const 00035 { 00036 return initial_TopicDataQosPolicy_; 00037 } 00038 00039 ACE_INLINE 00040 DDS::GroupDataQosPolicy 00041 Service_Participant::initial_GroupDataQosPolicy() const 00042 { 00043 return initial_GroupDataQosPolicy_; 00044 } 00045 00046 ACE_INLINE 00047 DDS::TransportPriorityQosPolicy 00048 Service_Participant::initial_TransportPriorityQosPolicy() const 00049 { 00050 return initial_TransportPriorityQosPolicy_; 00051 } 00052 00053 ACE_INLINE 00054 DDS::LifespanQosPolicy 00055 Service_Participant::initial_LifespanQosPolicy() const 00056 { 00057 return initial_LifespanQosPolicy_; 00058 } 00059 00060 ACE_INLINE 00061 DDS::DurabilityQosPolicy 00062 Service_Participant::initial_DurabilityQosPolicy() const 00063 { 00064 return initial_DurabilityQosPolicy_; 00065 } 00066 00067 ACE_INLINE 00068 DDS::DurabilityServiceQosPolicy 00069 Service_Participant::initial_DurabilityServiceQosPolicy() const 00070 { 00071 return initial_DurabilityServiceQosPolicy_; 00072 } 00073 00074 ACE_INLINE 00075 DDS::PresentationQosPolicy 00076 Service_Participant::initial_PresentationQosPolicy() const 00077 { 00078 return initial_PresentationQosPolicy_; 00079 } 00080 00081 ACE_INLINE 00082 DDS::DeadlineQosPolicy 00083 Service_Participant::initial_DeadlineQosPolicy() const 00084 { 00085 return initial_DeadlineQosPolicy_; 00086 } 00087 00088 ACE_INLINE 00089 DDS::LatencyBudgetQosPolicy 00090 Service_Participant::initial_LatencyBudgetQosPolicy() const 00091 { 00092 return initial_LatencyBudgetQosPolicy_; 00093 } 00094 00095 ACE_INLINE 00096 DDS::OwnershipQosPolicy 00097 Service_Participant::initial_OwnershipQosPolicy() const 00098 { 00099 return initial_OwnershipQosPolicy_; 00100 } 00101 00102 #ifndef OPENDDS_NO_OWNERSHIP_KIND_EXCLUSIVE 00103 ACE_INLINE 00104 DDS::OwnershipStrengthQosPolicy 00105 Service_Participant::initial_OwnershipStrengthQosPolicy() const 00106 { 00107 return initial_OwnershipStrengthQosPolicy_; 00108 } 00109 #endif 00110 00111 ACE_INLINE 00112 DDS::LivelinessQosPolicy 00113 Service_Participant::initial_LivelinessQosPolicy() const 00114 { 00115 return initial_LivelinessQosPolicy_; 00116 } 00117 00118 ACE_INLINE 00119 DDS::TimeBasedFilterQosPolicy 00120 Service_Participant::initial_TimeBasedFilterQosPolicy() const 00121 { 00122 return initial_TimeBasedFilterQosPolicy_; 00123 } 00124 00125 ACE_INLINE 00126 DDS::PartitionQosPolicy 00127 Service_Participant::initial_PartitionQosPolicy() const 00128 { 00129 return initial_PartitionQosPolicy_; 00130 } 00131 00132 ACE_INLINE 00133 DDS::ReliabilityQosPolicy 00134 Service_Participant::initial_ReliabilityQosPolicy() const 00135 { 00136 return initial_ReliabilityQosPolicy_; 00137 } 00138 00139 ACE_INLINE 00140 DDS::DestinationOrderQosPolicy 00141 Service_Participant::initial_DestinationOrderQosPolicy() const 00142 { 00143 return initial_DestinationOrderQosPolicy_; 00144 } 00145 00146 ACE_INLINE 00147 DDS::HistoryQosPolicy 00148 Service_Participant::initial_HistoryQosPolicy() const 00149 { 00150 return initial_HistoryQosPolicy_; 00151 } 00152 00153 ACE_INLINE 00154 DDS::ResourceLimitsQosPolicy 00155 Service_Participant::initial_ResourceLimitsQosPolicy() const 00156 { 00157 return initial_ResourceLimitsQosPolicy_; 00158 } 00159 00160 ACE_INLINE 00161 DDS::EntityFactoryQosPolicy 00162 Service_Participant::initial_EntityFactoryQosPolicy() const 00163 { 00164 return initial_EntityFactoryQosPolicy_; 00165 } 00166 00167 ACE_INLINE 00168 DDS::WriterDataLifecycleQosPolicy 00169 Service_Participant::initial_WriterDataLifecycleQosPolicy() const 00170 { 00171 return initial_WriterDataLifecycleQosPolicy_; 00172 } 00173 00174 ACE_INLINE 00175 DDS::ReaderDataLifecycleQosPolicy 00176 Service_Participant::initial_ReaderDataLifecycleQosPolicy() const 00177 { 00178 return initial_ReaderDataLifecycleQosPolicy_; 00179 } 00180 00181 ACE_INLINE 00182 DDS::DomainParticipantFactoryQos 00183 Service_Participant::initial_DomainParticipantFactoryQos() const 00184 { 00185 return initial_DomainParticipantFactoryQos_; 00186 } 00187 00188 ACE_INLINE 00189 DDS::DomainParticipantQos 00190 Service_Participant::initial_DomainParticipantQos() const 00191 { 00192 return initial_DomainParticipantQos_; 00193 } 00194 00195 ACE_INLINE 00196 DDS::TopicQos 00197 Service_Participant::initial_TopicQos() const 00198 { 00199 return initial_TopicQos_; 00200 } 00201 00202 ACE_INLINE 00203 DDS::DataWriterQos 00204 Service_Participant::initial_DataWriterQos() const 00205 { 00206 return initial_DataWriterQos_; 00207 } 00208 00209 ACE_INLINE 00210 DDS::PublisherQos 00211 Service_Participant::initial_PublisherQos() const 00212 { 00213 return initial_PublisherQos_; 00214 } 00215 00216 ACE_INLINE 00217 DDS::DataReaderQos 00218 Service_Participant::initial_DataReaderQos() const 00219 { 00220 return initial_DataReaderQos_; 00221 } 00222 00223 ACE_INLINE 00224 DDS::SubscriberQos 00225 Service_Participant::initial_SubscriberQos() const 00226 { 00227 return initial_SubscriberQos_; 00228 } 00229 00230 ACE_INLINE 00231 int& 00232 Service_Participant::federation_recovery_duration() 00233 { 00234 return this->federation_recovery_duration_; 00235 } 00236 00237 ACE_INLINE 00238 int 00239 Service_Participant::federation_recovery_duration() const 00240 { 00241 return this->federation_recovery_duration_; 00242 } 00243 00244 ACE_INLINE 00245 int& 00246 Service_Participant::federation_initial_backoff_seconds() 00247 { 00248 return this->federation_initial_backoff_seconds_; 00249 } 00250 00251 ACE_INLINE 00252 int 00253 Service_Participant::federation_initial_backoff_seconds() const 00254 { 00255 return this->federation_initial_backoff_seconds_; 00256 } 00257 00258 ACE_INLINE 00259 int& 00260 Service_Participant::federation_backoff_multiplier() 00261 { 00262 return this->federation_backoff_multiplier_; 00263 } 00264 00265 ACE_INLINE 00266 int 00267 Service_Participant::federation_backoff_multiplier() const 00268 { 00269 return this->federation_backoff_multiplier_; 00270 } 00271 00272 ACE_INLINE 00273 int& 00274 Service_Participant::federation_liveliness() 00275 { 00276 return this->federation_liveliness_; 00277 } 00278 00279 ACE_INLINE 00280 int 00281 Service_Participant::federation_liveliness() const 00282 { 00283 return this->federation_liveliness_; 00284 } 00285 00286 ACE_INLINE 00287 long& 00288 Service_Participant::scheduler() 00289 { 00290 return this->scheduler_; 00291 } 00292 00293 ACE_INLINE 00294 long 00295 Service_Participant::scheduler() const 00296 { 00297 return this->scheduler_; 00298 } 00299 00300 ACE_INLINE 00301 ACE_Time_Value 00302 Service_Participant::pending_timeout() const 00303 { 00304 return this->pending_timeout_; 00305 } 00306 00307 ACE_INLINE 00308 int 00309 Service_Participant::priority_min() const 00310 { 00311 return this->priority_min_; 00312 } 00313 00314 ACE_INLINE 00315 int 00316 Service_Participant::priority_max() const 00317 { 00318 return this->priority_max_; 00319 } 00320 00321 ACE_INLINE 00322 bool& 00323 Service_Participant::publisher_content_filter() 00324 { 00325 return this->publisher_content_filter_; 00326 } 00327 00328 ACE_INLINE 00329 bool 00330 Service_Participant::publisher_content_filter() const 00331 { 00332 return this->publisher_content_filter_; 00333 } 00334 00335 ACE_INLINE 00336 bool 00337 Service_Participant::is_shut_down() const 00338 { 00339 return this->shut_down_; 00340 } 00341 00342 ACE_INLINE 00343 ACE_CString 00344 Service_Participant::default_address() const 00345 { 00346 return this->default_address_; 00347 } 00348 00349 } // namespace DDS 00350 } // namespace OpenDDS