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

Method createSubscriber

tools/modeling/codegen/model/Service_T.cpp:264–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263template< typename ModelName, class InstanceTraits>
264inline
265void
266OpenDDS::Model::Service< ModelName, InstanceTraits>::createSubscriber(
267 typename Subscribers::Values subscriber
268)
269{
270 typename Participants::Values participant = this->modelData_.participant( subscriber);
271
272 if( !this->participants_[ participant]) {
273 this->createParticipant( participant);
274 }
275
276 this->subscribers_[ subscriber] = this->delegate_.createSubscriber(
277 this->participants_[ participant],
278 this->modelData_.qos( subscriber),
279 this->modelData_.mask( subscriber),
280 this->configName(this->modelData_.transportConfigName(subscriber))
281 );
282}
283
284template< typename ModelName, class InstanceTraits>
285inline

Callers 2

subscriberMethod · 0.95
createSubscriptionMethod · 0.95

Calls 3

createParticipantMethod · 0.95
transportConfigNameMethod · 0.80
participantMethod · 0.45

Tested by

no test coverage detected