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

Method remove_sample

dds/DCPS/transport/framework/ThreadPerConnectionSendTask.cpp:218–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218RemoveResult
219ThreadPerConnectionSendTask::remove_sample(const DataSampleElement* element)
220{
221 DBG_ENTRY("ThreadPerConnectionSendTask", "remove_sample");
222
223 ACE_Message_Block* payload = element->get_sample()->cont();
224 ThreadPerConRemoveVisitor visitor(payload);
225
226 GuardType guard(lock_);
227
228 queue_.accept_visitor(visitor);
229
230 return visitor.status();
231}
232
233void ThreadPerConnectionSendTask::execute(SendRequest& req)
234{

Callers

nothing calls this directly

Calls 3

get_sampleMethod · 0.80
accept_visitorMethod · 0.80
statusMethod · 0.45

Tested by

no test coverage detected