Wraps an APR pool object so that classes in decaf can create a static member for use in static methods where apr function calls that need a pool are made.
More...
#include <src/main/decaf/internal/AprPool.h>
Static Public Member Functions |
static apr_pool_t * | getGlobalPool () |
| Gets a pointer to the Global APR Pool used for the Application.
|
Detailed Description
Wraps an APR pool object so that classes in decaf can create a static member for use in static methods where apr function calls that need a pool are made.
Constructor & Destructor Documentation
decaf::internal::AprPool::AprPool |
( |
| ) |
|
virtual decaf::internal::AprPool::~AprPool |
( |
| ) |
|
|
virtual |
Member Function Documentation
void decaf::internal::AprPool::cleanup |
( |
| ) |
|
Clears data that was allocated by this pool.
Users should call this after getting the data from the APR functions and copying it to someplace safe.
apr_pool_t* decaf::internal::AprPool::getAprPool |
( |
| ) |
const |
Gets the internal APR Pool.
- Returns
- the internal APR pool
static apr_pool_t* decaf::internal::AprPool::getGlobalPool |
( |
| ) |
|
|
static |
Gets a pointer to the Global APR Pool used for the Application.
- Returns
- pointer to the global APR Pool
The documentation for this class was generated from the following file: