BDE 4.14.0 Production release
Loading...
Searching...
No Matches
ball::AttributeContextProctor Class Reference

#include <ball_attributecontext.h>

Public Member Functions

 AttributeContextProctor ()
 
 ~AttributeContextProctor ()
 Destroy this object (as well as the current attribute context).
 

Detailed Description

This class implements a proctor that, on its own destruction, will destroy the attribute context of the current thread. Attribute contexts are stored in thread-local memory. On destruction, objects of this type will deallocate the current thread's attribute context (if one has been created), and set the thread-local storage pointer to 0.

See ball_attributecontext

Constructor & Destructor Documentation

◆ AttributeContextProctor()

ball::AttributeContextProctor::AttributeContextProctor ( )
inlineexplicit

Create an AttributeContextProctor object that will destroy the current attribute context on destruction.

◆ ~AttributeContextProctor()

ball::AttributeContextProctor::~AttributeContextProctor ( )

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