MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / setStatus

Method setStatus

modules/engine/runtime/src/io/ram/ram_request.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void RAMIOStatusComponent::setStatus(ESkrIOStage status) SKR_NOEXCEPT
29{
30 auto rq = static_cast<RAMRequestMixin*>(request);
31 if (status == SKR_IO_STAGE_CANCELLED)
32 {
33 if (auto dest = static_cast<RAMIOBuffer*>(rq->destination.get()))
34 {
35 dest->free_buffer();
36 }
37 }
38 return IOStatusComponent::setStatus(status);
39}
40
41} // namespace skr::io

Callers 4

dispatchFunctionMethod · 0.45
enqueueAndSubmitMethod · 0.45
pollSubmittedMethod · 0.45
enqueueBatchMethod · 0.45

Calls 3

setStatusFunction · 0.85
free_bufferMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected