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

Function findTypeSupport

dds/DCPS/MultiTopicImpl.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26namespace {
27 TypeSupport_ptr findTypeSupport(DomainParticipantImpl* participant,
28 const char* type_name)
29 {
30 TypeSupport_var p = Registered_Data_Types->lookup(participant, type_name);
31 if (!p) {
32 throw std::runtime_error(OPENDDS_STRING("Data type: ") + type_name +
33 " is not registered.");
34 }
35 return p;
36 }
37}
38
39MultiTopicImpl::MultiTopicImpl(const char* name,

Callers 1

MultiTopicImplMethod · 0.85

Calls 1

lookupMethod · 0.45

Tested by

no test coverage detected