ACE_Allocator.
More...
#include <DurabilityQueue.h>
Public Member Functions | |
| DurabilityQueue (ACE_Allocator *allocator) | |
| DurabilityQueue (DurabilityQueue< T > const &rhs) | |
| ~DurabilityQueue () | |
| void | operator= (DurabilityQueue< T > const &rhs) |
| void | set_allocator (ACE_Allocator *allocator) |
| Reset allocator. | |
| void | swap (DurabilityQueue< T > &rhs) |
ACE_Allocator.
This class only exists to provide a means to reset the allocator used by the ACE_Unbounded_Queue base class. It has a specific use case, namely to correctly support instances created by a persistent allocator. The allocator address may change between process runs, meaning the allocator address stored in the persistent ACE_Unbounded_Queue instance will be invalid. Use the set_allocator() method to reset the allocator address before performing any operations that will require use of the allocator (e.g. enqueuing new items).
| OpenDDS::DCPS::DurabilityQueue< T >::DurabilityQueue | ( | ACE_Allocator * | allocator | ) | [inline] |
| OpenDDS::DCPS::DurabilityQueue< T >::DurabilityQueue | ( | DurabilityQueue< T > const & | rhs | ) | [inline] |
| OpenDDS::DCPS::DurabilityQueue< T >::~DurabilityQueue | ( | ) | [inline] |
| void OpenDDS::DCPS::DurabilityQueue< T >::operator= | ( | DurabilityQueue< T > const & | rhs | ) | [inline] |
| void OpenDDS::DCPS::DurabilityQueue< T >::set_allocator | ( | ACE_Allocator * | allocator | ) | [inline] |
Reset allocator.
| void OpenDDS::DCPS::DurabilityQueue< T >::swap | ( | DurabilityQueue< T > & | rhs | ) | [inline] |
1.4.7