L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
ref_ptr_list
Go to the documentation of this file.
1
// vi:set ft=cpp: -*- Mode: C++ -*-
6
/*
7
* Copyright (C) 2018, 2022 Kernkonzept GmbH.
8
* Author(s): Sarah Hoffmann <sarah.hoffmann@kernkonzept.com>
9
*
10
* This file is distributed under the terms of the GNU General Public
11
* License, version 2. Please see the COPYING-GPL-2 file for details.
12
*/
13
#pragma once
14
15
#include <l4/cxx/ref_ptr>
16
17
#include "
bits/smart_ptr_list.h
"
18
19
namespace
cxx
{
20
22
template
<
typename
T>
23
using
Ref_ptr_list_item
=
Bits::Smart_ptr_list_item<T, cxx::Ref_ptr<T>
>;
24
26
template
<
typename
T>
27
struct
Ref_obj_list_item
:
public
Ref_ptr_list_item
<T>,
public
cxx::Ref_obj {};
28
32
template
<
typename
T>
33
using
Ref_ptr_list
=
Bits::Smart_ptr_list<Ref_ptr_list_item<T>
>;
34
35
}
cxx::Bits::Smart_ptr_list_item
List item for an arbitrary item in a Smart_ptr_list.
Definition
smart_ptr_list.h:29
cxx::Bits::Smart_ptr_list
List of smart-pointer-managed objects.
Definition
smart_ptr_list.h:48
cxx
Our C++ library.
Definition
arith:22
smart_ptr_list.h
Implementation of a list of smart-pointer-managed objects.
cxx::Ref_obj_list_item
Item for list linked via cxx::Ref_ptr with default refence counting.
Definition
ref_ptr_list:27
l4
cxx
ref_ptr_list
Generated on Sat Aug 24 2024 16:07:21 for L4Re Operating System Framework by
1.9.8