Wiselib
|
Memory allocator. More...
Inherits concepts::BasicReturnValues_concept.
Classes | |
struct | Ref |
Public Types | |
enum | { SUCCESS, ERR_UNSPEC, ERR_NOMEM, ERR_BUSY, ERR_NOTIMPL, ERR_NETDOWN, ERR_HOSTUNREACH } |
enum | StateValues { READY, NO_VALUE, INACTIVE } |
Public Member Functions | |
template<typename T > | |
struct concepts::Allocator_concept::Ref | allocate () |
template<typename T > | |
Ref< T >::pointer_t | allocate_array (OsModel::size_t n) |
template<typename T > | |
int | free (typename Ref< T >::pointer_t) |
template<typename T > | |
int | free_array (typename Ref< T >::pointer_t) |
Public Attributes | |
typedef | OsModel |
typedef | self_type |
Memory allocator.
anonymous enum [inherited] |
enum concepts::BasicReturnValues_concept::StateValues [inherited] |
struct concepts::Allocator_concept::Ref concepts::Allocator_concept::allocate | ( | ) |
Ref<T>::pointer_t concepts::Allocator_concept::allocate_array | ( | OsModel::size_t | n | ) |