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

Function createSubscriber

tests/DCPS/Reliability/Boilerplate.cpp:76–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76DDS::Subscriber_var
77createSubscriber(DDS::DomainParticipant_var participant)
78{
79 // Create Subscriber
80 DDS::Subscriber_var subscriber =
81 participant->create_subscriber(
82 SUBSCRIBER_QOS_DEFAULT,
83 0,
84 OpenDDS::DCPS::DEFAULT_STATUS_MASK);
85
86 // Check for failure
87 if (!subscriber) {
88 throw std::string("failed to create subscriber");
89 }
90
91 return subscriber;
92}
93
94DDS::DataWriter_var
95createDataWriter(

Callers 1

ACE_TMAINFunction · 0.50

Calls 1

create_subscriberMethod · 0.45

Tested by

no test coverage detected