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

Method createPublisher

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

Source from the content-addressed store, hash-verified

241
242template< typename ModelName, class InstanceTraits>
243inline
244void
245OpenDDS::Model::Service< ModelName, InstanceTraits>::createPublisher(
246 typename Publishers::Values publisher
247)
248{
249 typename Participants::Values participant = this->modelData_.participant( publisher);
250
251 if( !this->participants_[ participant]) {
252 this->createParticipant( participant);
253 }
254
255 this->publishers_[ publisher] = this->delegate_.createPublisher(
256 this->participants_[ participant],
257 this->modelData_.qos( publisher),
258 this->modelData_.mask( publisher),
259 this->configName(this->modelData_.transportConfigName(publisher))
260 );
261}
262
263template< typename ModelName, class InstanceTraits>
264inline

Callers 2

publisherMethod · 0.95
createPublicationMethod · 0.95

Calls 3

createParticipantMethod · 0.95
transportConfigNameMethod · 0.80
participantMethod · 0.45

Tested by

no test coverage detected