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

Method release_buffer

dds/DCPS/WriteDataContainer.cpp:1308–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1306}
1307
1308void
1309WriteDataContainer::release_buffer(DataSampleElement* element)
1310{
1311 if (element->get_header().message_id_ == SAMPLE_DATA)
1312 data_holder_.dequeue(element);
1313 // Release the memory to the allocator.
1314 ACE_DES_FREE(element,
1315 sample_list_element_allocator_.free,
1316 DataSampleElement);
1317}
1318
1319void
1320WriteDataContainer::unregister_all()

Callers 8

obtain_bufferMethod · 0.95
send_request_ackMethod · 0.80
register_instance_iMethod · 0.80
unregister_instance_iMethod · 0.80
writeMethod · 0.80
disposeMethod · 0.80
run_testFunction · 0.80

Calls 1

dequeueMethod · 0.65

Tested by 1

run_testFunction · 0.64