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

Method sorted_insert

dds/DCPS/transport/framework/TransportConfig.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void
74TransportConfig::sorted_insert(const TransportInst_rch& inst)
75{
76 const OPENDDS_STRING name = inst->name();
77 InstancesType::iterator it = instances_.begin();
78 while (it != instances_.end() && (*it)->name() < name) {
79 ++it;
80 }
81 instances_.insert(it, inst);
82}
83
84void
85TransportConfig::populate_locators(TransportLocatorSeq& trans_info,

Callers 5

loadMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80
ACE_TMAINFunction · 0.80

Calls 4

nameMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected