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

Function copyInto

dds/DCPS/WaitSet.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace {
18
19void copyInto(DDS::ConditionSeq& target,
20 const DDS::WaitSet::ConditionSet& source)
21{
22 const CORBA::ULong size = static_cast<CORBA::ULong>(source.size());
23 target.length(size);
24 CORBA::ULong index = 0;
25
26 for (DDS::WaitSet::ConditionSet::const_iterator iter = source.begin(),
27 end = source.end(); iter != end; ++iter, ++index) {
28 target[index] = *iter;
29 }
30}
31
32} // namespace
33

Callers 2

get_conditionsMethod · 0.85
waitMethod · 0.85

Calls 4

sizeMethod · 0.45
lengthMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected