Rasterfarm-SDK
Loading...
Searching...
No Matches
Engine::Schedule::Garbage< C > Class Template Reference

#include <garbage.h>

Inheritance diagram for Engine::Schedule::Garbage< C >:
Engine::Schedule::Task Frame

Static Public Member Functions

static bool deleteSafe (C *pJunk)
 

Additional Inherited Members

- Public Member Functions inherited from Engine::Schedule::Task
 Task (RenderSchedule renderSchedule=PRE_RENDER)
 
RenderSchedule getRenderSchedule ()
 

Member Function Documentation

◆ deleteSafe()

template<class C >
static bool Engine::Schedule::Garbage< C >::deleteSafe ( C * pJunk)
inlinestatic

Thread-safe deletion of object.

Parameters
Pointerto object for deletion.
Returns
True if atomically deleted, else queued on the render-thread for deletion by Application.

The documentation for this class was generated from the following file: