TResourceCleanupStrategy Class Reference

class TResourceCleanupStrategy

Strategy (policy) class that defines the default cleanup strategy for managed resource class objects.

The default cleanup strategy is to call the cleanup member function of the managed class, which is the Close() member function of the managed class, unless explicitly defined otherwise, for example by using the provided DEFINE_CLEANUP_FUNCTION macro.

Public Member Functions
void Cleanup (T *)

Member Functions Documentation

Cleanup(T *)

void Cleanup ( T * aObjPtr ) [static, inline]

Parameters

T * aObjPtr