L4Re - L4 Runtime Environment
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

 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. More...
 
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. More...
 
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. More...
 
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. More...
 

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. More...
 
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. More...
 

Detailed Description

Unique_cap / Unique_del_cap.

Definition in file unique_cap.