AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Public Member Functions | List of all members
drama::ErsContext Class Reference

Detailed Description

A Class used to manage ERS context.

Ensures context is popped when object is destroyed.

Warning
The DRAMA lock must be taking when invoking this and all ERS operations

This class implements the Resource Acquisition Is Initialization design pattern, but is intended to be used for Scope-based Resource Management only.

#include "drama.hh"

Public Member Functions

 ErsContext ()
 Create an ErsContext object, increasing the Ers context.
 
 ~ErsContext ()
 Destroy an ErsContext object, decrementing the Ers context.
 

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