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

Method insert_link

dds/DCPS/transport/framework/DataLinkSet.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int
42OpenDDS::DCPS::DataLinkSet::insert_link(const DataLink_rch& link)
43{
44 DBG_ENTRY_LVL("DataLinkSet","insert_link",6);
45 GuardType guard(this->lock_);
46 const int retval = OpenDDS::DCPS::bind(map_, link->id(), link);
47 VDBG((LM_DEBUG,
48 ACE_TEXT("(%P|%t) DataLinkSet::insert_link: ")
49 ACE_TEXT("added link [%@] id %d %C to map\n"),
50 link.in(), link->id(), retval == 0 ? "successfully" : "NOT"));
51 return retval;
52}
53
54void
55OpenDDS::DCPS::DataLinkSet::remove_link(const DataLink_rch& link)

Callers 5

release_reservationsMethod · 0.80
add_linkMethod · 0.80
send_responseMethod · 0.80
send_iMethod · 0.80
send_control_toMethod · 0.80

Calls 3

bindFunction · 0.50
idMethod · 0.45
inMethod · 0.45

Tested by

no test coverage detected