|
activemq-cpp-3.3.0
|
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>
Public Member Functions | |
| AprPool () | |
| virtual | ~AprPool () |
| apr_pool_t * | getAprPool () const |
| Gets the internal APR Pool. | |
| void | cleanup () |
| Clears data that was allocated by this pool. | |
Static Public Member Functions | |
| static apr_pool_t * | getGlobalPool () |
| Gets a pointer to the Global APR Pool used for the Application. | |
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.
| decaf::internal::AprPool::AprPool | ( | ) |
| virtual decaf::internal::AprPool::~AprPool | ( | ) | [virtual] |
| 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.
| static apr_pool_t* decaf::internal::AprPool::getGlobalPool | ( | ) | [static] |
Gets a pointer to the Global APR Pool used for the Application.