35 = L4::Detail::Shared_cap_impl<T, L4Re::Smart_count_cap<L4_FP_ALL_SPACES>>;
38using shared_cap [[deprecated(
"Use L4Re::Shared_cap.")]]
39 = L4::Detail::Shared_cap_impl<T, L4Re::Smart_count_cap<L4_FP_ALL_SPACES>>;
67template<
typename T,
typename U>
86template<
typename T,
typename U>
103template<
typename T,
typename U>
122template<
typename T,
typename U>
139template<
typename T,
typename U>
160template<
typename T,
typename U>
185template<
typename T >
187 = L4::Detail::Shared_cap_impl<T, L4Re::Smart_count_cap<L4_FP_DELETE_OBJ>>;
190using shared_del_cap [[deprecated(
"Use L4Re::Shared_del_cap.")]]
191 = L4::Detail::Shared_cap_impl<T, L4Re::Smart_count_cap<L4_FP_DELETE_OBJ>>;
202template<
typename T >
219template<
typename T,
typename U>
238template<
typename T,
typename U>
255template<
typename T,
typename U>
275template<
typename T,
typename U>
293template<
typename T,
typename U>
315template<
typename T,
typename U>
Abstract capability-allocator interface.
Capability allocator interface.
virtual L4::Cap< void > alloc() noexcept=0
Allocate a capability.
L4::Detail::Shared_cap_impl< T, L4Re::Smart_count_cap< L4_FP_ALL_SPACES > > Shared_cap
Shared capability that implements automatic free and unmap of the capability selector.
Shared_del_cap< T > shared_del_cap_reinterpret_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by a reinterpret cast from another shared capability.
Shared_cap< T > shared_cap_dynamic_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by a dynamic cast from another shared capability.
Shared_cap< T > make_shared_cap(L4Re::Cap_alloc *ca)
Allocate a capability slot and wrap it in a Shared_cap.
Shared_del_cap< T > make_shared_del_cap(L4Re::Cap_alloc *ca)
Allocate a capability slot and wrap it in a Shared_del_cap.
Shared_cap< T > shared_cap_reinterpret_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by a reinterpret cast from another shared capability.
Shared_cap< T > shared_cap_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by an explicit cast from another shared capability.
Shared_del_cap< T > shared_del_cap_dynamic_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by a dynamic cast from another shared capability.
L4::Detail::Shared_cap_impl< T, L4Re::Smart_count_cap< L4_FP_DELETE_OBJ > > Shared_del_cap
Shared capability that implements automatic free and unmap+delete of the capability selector.
Shared_del_cap< T > shared_del_cap_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by an explicit cast from another shared capability.
Cap< T > cap_reinterpret_cast(Cap< F > const &c) noexcept
reinterpret_cast for capabilities.
Cap< T > cap_cast(Cap< F > const &c) noexcept
static_cast for capabilities.
Cap< T > cap_dynamic_cast(Cap< F > const &c) noexcept
dynamic_cast for capabilities.