hpx/parcelport_libfabric/pinned_memory_vector.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace parcelset
namespace policies
namespace libfabric
template<typename T, int Offset, typename Region, typename Allocator>
class pinned_memory_vector

Public Types

typedef T value_type
typedef value_type &reference
typedef T *iterator
typedef T const *const_iterator
typedef std::vector<T>::difference_type difference_type
typedef std::vector<T>::size_type size_type
typedef Allocator allocator_type
typedef Region region_type
typedef pinned_memory_vector<T, Offset, region_type, allocator_type> vector_type
typedef hpx::function<void()> deleter_callback

Public Functions

pinned_memory_vector(allocator_type *alloc)
pinned_memory_vector(T *p, std::size_t s, deleter_callback cb, allocator_type *alloc, region_type *r)
pinned_memory_vector(vector_type &&other)
~pinned_memory_vector()
vector_type &operator=(vector_type &&other)
size_type size() const
size_type max_size() const
bool empty() const
T *data()
iterator begin()
iterator end()
const_iterator begin() const
const_iterator end() const
reference operator[](std::size_t index)
const_reference operator[](std::size_t index) const
void push_back(const T &_Val)
std::size_t capacity()
void resize(std::size_t s)
void reserve(std::size_t s)

Public Members

const typedef value_type& hpx::parcelset::policies::libfabric::pinned_memory_vector::const_reference
T *m_array_
std::size_t m_size_
deleter_callback m_cb_
allocator_type *m_alloc_
region_type *m_region_

Private Functions

pinned_memory_vector(vector_type const &other)