L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
unique_cap File Reference

Unique_cap / Unique_del_cap. More...

Include dependency graph for unique_cap:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  L4Re
 L4Re C++ Interfaces.

Typedefs

template<typename T>
using L4Re::Unique_cap = L4::Detail::Unique_cap_impl<T, Smart_cap_auto<L4_FP_ALL_SPACES>>
 Unique capability that implements automatic free and unmap of the capability selector.
template<typename T>
using L4Re::unique_cap = L4::Detail::Unique_cap_impl<T, Smart_cap_auto<L4_FP_ALL_SPACES>>
 Unique capability that implements automatic free and unmap of the capability selector.
template<typename T>
using L4Re::Unique_del_cap = L4::Detail::Unique_cap_impl<T, Smart_cap_auto<L4_FP_DELETE_OBJ>>
 Unique capability that implements automatic free and unmap+delete of the capability selector.
template<typename T>
using L4Re::unique_del_cap = L4::Detail::Unique_cap_impl<T, Smart_cap_auto<L4_FP_DELETE_OBJ>>
 Unique capability that implements automatic free and unmap+delete of the capability selector.

Functions

template<typename T>
Unique_cap< T > L4Re::make_unique_cap (L4Re::Cap_alloc *ca)
 Allocate a capability slot and wrap it in an Unique_cap.
template<typename T>
Unique_del_cap< T > L4Re::make_unique_del_cap (L4Re::Cap_alloc *ca)
 Allocate a capability slot and wrap it in an Unique_del_cap.

Detailed Description

Unique_cap / Unique_del_cap.

Definition in file unique_cap.