{"id":16938,"url":"https://patchwork.libcamera.org/api/1.1/patches/16938/?format=json","web_url":"https://patchwork.libcamera.org/patch/16938/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220803112150.3040287-4-paul.elder@ideasonboard.com>","date":"2022-08-03T11:21:44","name":"[libcamera-devel,3/9] libcamera: flags: Add friend class IPADataSerializer","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"759fc0938a370ab9f97b5a488ec135d92273b044","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/1.1/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16938/mbox/","series":[{"id":3367,"url":"https://patchwork.libcamera.org/api/1.1/series/3367/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3367","date":"2022-08-03T11:21:41","name":"utils: ipc: Add support for enums and Flags","version":1,"mbox":"https://patchwork.libcamera.org/series/3367/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16938/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16938/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id E1D96BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  3 Aug 2022 11:22:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AAD9563314;\n\tWed,  3 Aug 2022 13:22:07 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 18AAE6331C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  3 Aug 2022 13:22:05 +0200 (CEST)","from pyrite.rasen.tech (h175-177-042-159.catv02.itscom.jp\n\t[175.177.42.159])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id D985530B;\n\tWed,  3 Aug 2022 13:22:03 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659525727;\n\tbh=jJyNKqVT5CXPER9+usl/DkRKCJNV5gqIlfA1aTkdCoE=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=J34JA522UXK8RaNhoV6RLLOKpn76usimVjy7NTA9HJp/9Anjj3opQtFiCATE/si12\n\toPlEUoe5EZDYuZz49fgc/Im9au7Hk1/EyC1C3MlwUwr/q+igtWuKulwuXoSPu/2fuT\n\tOq6fEAhZo76xxq9psJlMfgwBeiuqlf4cbm3IDMo8ciPUex6yAD7S7c9DR+tq4CTIG2\n\tkxzjLV3Kdh157SDoIg5nXmiN/4L4bBBN6awIFNkqPJQIYLiWkU4al5d/Ir8NZbRtj/\n\tIUhQjrm6JygrYYy1Zq+V69z9Y+tK54d0N3rNt7cA6yPyq2wJDIw8XchvmrwKRXF4nL\n\tUIVuDG7GJmtEg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1659525724;\n\tbh=jJyNKqVT5CXPER9+usl/DkRKCJNV5gqIlfA1aTkdCoE=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=u0cH5m5nyXLU/bVYSa22elVBhAkrMR9l106ftuOEAkkOP2twhnPTD43DcJaOE1I6Q\n\t668Tt1CSzN1kq5cK7FjwGTfFf5HVi3CGZKhMKUAAn6t9MAZLAS1k/9VgM/trkH7mMQ\n\t5ukLbGClHM2WihoBG8otqwT0AngSl/S95spDMkIs="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"u0cH5m5n\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  3 Aug 2022 20:21:44 +0900","Message-Id":"<20220803112150.3040287-4-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.30.2","In-Reply-To":"<20220803112150.3040287-1-paul.elder@ideasonboard.com>","References":"<20220803112150.3040287-1-paul.elder@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 3/9] libcamera: flags: Add friend class\n\tIPADataSerializer","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Paul Elder via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Paul Elder <paul.elder@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"To prepare for the ability to send Flags over IPC, add IPADataSerializer\nas a friend class to Flags.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n include/libcamera/base/flags.h | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/include/libcamera/base/flags.h b/include/libcamera/base/flags.h\nindex a1b404bd..43afdf26 100644\n--- a/include/libcamera/base/flags.h\n+++ b/include/libcamera/base/flags.h\n@@ -137,6 +137,9 @@ public:\n \t}\n \n private:\n+\ttemplate<typename>\n+\tfriend class IPADataSerializer;\n+\n \tType value_;\n };\n \n","prefixes":["libcamera-devel","3/9"]}