dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::array< vm_t > Class Template Reference

an array owned the same way, sized once and freed with the object More...

#include <dxd_reference.h>

Public Member Functions

os_result alloc(size_t elements)
 replaces the elements by new ones
 array()= default
 array(size_t elements)
 operator vm_t*() const
vm_t* operator =(vm_t* vm)
 takes the elements over, nullptr frees
 ~array()

Public Attributes

os_result status{not_initialized}

Detailed Description

template<typename vm_t>
class dxd::array< vm_t >

an array owned the same way, sized once and freed with the object

Constructor & Destructor Documentation

◆ array() [1/2]

template<typename vm_t>
dxd::array<vm_t>::array()
default

◆ array() [2/2]

template<typename vm_t>
dxd::array<vm_t>::array(size_t elements)
inlineexplicit
Here is the call graph for this function:

◆ ~array()

template<typename vm_t>
dxd::array<vm_t>::~array()
inline

Member Function Documentation

◆ alloc()

template<typename vm_t>
os_result dxd::array<vm_t>::alloc(size_t elements)
inline

replaces the elements by new ones

Here is the caller graph for this function:

◆ operator vm_t *()

template<typename vm_t>
dxd::array<vm_t>::operator vm_t*() const
inline

◆ operator =()

template<typename vm_t>
vm_t* dxd::array<vm_t>::operator =(vm_t* vm)
inline

takes the elements over, nullptr frees

Member Data Documentation

◆ status

template<typename vm_t>
os_result dxd::array<vm_t>::status{not_initialized}

The documentation for this class was generated from the following file: