#include <referenced.h>
Public Member Functions | |
virtual | ~DeleteHandler () |
virtual void | flush () |
void | doDelete (const Referenced *object) |
virtual void | requestDelete (const Referenced *object) |
virtual openalpp::DeleteHandler::~DeleteHandler | ( | ) | [inline, virtual] |
virtual void openalpp::DeleteHandler::flush | ( | ) | [inline, virtual] |
flush any cache of objects that need to be deleted by doing an actual delete.
void openalpp::DeleteHandler::doDelete | ( | const Referenced * | object | ) | [inline] |
virtual void openalpp::DeleteHandler::requestDelete | ( | const Referenced * | object | ) | [inline, virtual] |
Request the deletion of an object. Depending on users implementation of DeleteHandler, the delete of the object may occur straight away or be delayed until doDelete is called. The default implementation does a delete straight away.