| 311 | |
| 312 | template< typename ModelName, class InstanceTraits> |
| 313 | inline |
| 314 | void |
| 315 | OpenDDS::Model::Service< ModelName, InstanceTraits>::createSubscription( typename DataReaders::Values reader) |
| 316 | { |
| 317 | typename Subscribers::Values subscriber = this->modelData_.subscriber( reader); |
| 318 | typename Participants::Values participant = this->modelData_.participant( subscriber); |
| 319 | typename Topics::Values topic = this->modelData_.topic( reader); |
| 320 | |
| 321 | if( !this->subscribers_[ subscriber]) { |
| 322 | this->createSubscriber( subscriber); |
| 323 | } |
| 324 | if( !this->topics_[ participant][ topic]) { |
| 325 | this->createTopicDescription(participant, topic); |
| 326 | } |
| 327 | |
| 328 | this->readers_[reader] = this->delegate_.createSubscription( |
| 329 | reader, |
| 330 | this->subscribers_[subscriber], |
| 331 | this->topics_[participant][topic], |
| 332 | this->modelData_.qos(reader), |
| 333 | this->modelData_.mask(reader), |
| 334 | this->configName(this->modelData_.transportConfigName(reader)), |
| 335 | this->modelData_.copyTopicQos(reader) |
| 336 | ); |
| 337 | } |
| 338 | |
| 339 | template< typename ModelName, class InstanceTraits> |
| 340 | inline |
no test coverage detected