[{"id":435,"web_url":"https://patchwork.libcamera.org/comment/435/","msgid":"<20190121092646.GC4420@pendragon.ideasonboard.com>","date":"2019-01-21T09:26:46","subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Jacopo,\n\nOn Mon, Jan 21, 2019 at 10:20:20AM +0100, Jacopo Mondi wrote:\n> Make getter functions of V4L2Device return std::string as the rest of\n> the library does.\n\nThis is something that has been discussed during the review of Kieran's\noriginal patch I believe. The question was whether it would be more\nefficient to use const char * or a an std::string, and the answer to\nthat question depends on the expected usage of those methods. If all\nusers need an std::string, then I agree that the methods below can as\nwell construct one. On the other hand, if some users need a const char\n*, it is a bit pointless to convert from const char * to std::string and\nthen back to const char * using c_str(). This is why we have opted for\nconst char * here.\n\nThis is a generic question that we should ask ourselves through the\nlibrary. Anyone with free time to analyze the problem ? :-)\n\n> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>\n> ---\n>  src/libcamera/include/v4l2_device.h | 6 +++---\n>  1 file changed, 3 insertions(+), 3 deletions(-)\n> \n> diff --git a/src/libcamera/include/v4l2_device.h b/src/libcamera/include/v4l2_device.h\n> index 474c05b..5fe3d82 100644\n> --- a/src/libcamera/include/v4l2_device.h\n> +++ b/src/libcamera/include/v4l2_device.h\n> @@ -45,9 +45,9 @@ public:\n>  \tbool isOpen() const;\n>  \tvoid close();\n> \n> -\tconst char *driverName() const { return caps_.driver(); }\n> -\tconst char *deviceName() const { return caps_.card(); }\n> -\tconst char *busName() const { return caps_.bus_info(); }\n> +\tconst std::string driverName() const { return std::string(caps_.driver()); }\n> +\tconst std::string deviceName() const { return std::string(caps_.card()); }\n> +\tconst std::string busName() const { return std::string(caps_.bus_info()); }\n\nIf we wanted to return an std::string, we should drop the const as the\nstring is returned by value.\n\n> \n>  private:\n>  \tstd::string devnode_;","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2314F60C65\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jan 2019 10:26:47 +0100 (CET)","from pendragon.ideasonboard.com\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8E62F53E;\n\tMon, 21 Jan 2019 10:26:46 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548062806;\n\tbh=OCKaYxMdMn9hCZ1LLPa1VupOhyhvq4fZKi9YojSUavM=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=Jd1WQ8SDj8EmEKsVnxeVI8h/0hlCth9u3REBoKXYjmpqR1OBS4oxYhQYCRl+1n9Ro\n\tvRvBuDYJBW/IzTH71L5RJ+27QxZCghzadpNxyxS8lCV0LrY7LUNTLlD93uzr6I7xr3\n\tNjoFyWjQx68JYD/fiE3MLKS5f6kA4n0LOWehy15U=","Date":"Mon, 21 Jan 2019 11:26:46 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Jacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","Message-ID":"<20190121092646.GC4420@pendragon.ideasonboard.com>","References":"<20190121092020.4145-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20190121092020.4145-1-jacopo@jmondi.org>","User-Agent":"Mutt/1.10.1 (2018-07-13)","Subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Mon, 21 Jan 2019 09:26:47 -0000"}},{"id":436,"web_url":"https://patchwork.libcamera.org/comment/436/","msgid":"<33ee9dea-f115-555b-8130-873fd8770c70@ideasonboard.com>","date":"2019-01-21T09:34:42","subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Hi Jacopo,\n\nOn 21/01/2019 09:26, Laurent Pinchart wrote:\n> Hi Jacopo,\n> \n> On Mon, Jan 21, 2019 at 10:20:20AM +0100, Jacopo Mondi wrote:\n>> Make getter functions of V4L2Device return std::string as the rest of\n>> the library does.\n>\n> This is something that has been discussed during the review of Kieran's\n> original patch I believe. The question was whether it would be more\n> efficient to use const char * or a an std::string, and the answer to\n> that question depends on the expected usage of those methods. If all\n> users need an std::string, then I agree that the methods below can as\n> well construct one. On the other hand, if some users need a const char\n> *, it is a bit pointless to convert from const char * to std::string and\n> then back to const char * using c_str(). This is why we have opted for\n> const char * here.\n\n\nAnd because the compiler can automatically convert from a const char *\nto a std::string using the string constructors ... so you can still use\nthese methods anywhere you would use a std::string...\n\n\n\n\n> This is a generic question that we should ask ourselves through the\n> library. Anyone with free time to analyze the problem ? :-)\n> \n>> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>\n>> ---\n>>  src/libcamera/include/v4l2_device.h | 6 +++---\n>>  1 file changed, 3 insertions(+), 3 deletions(-)\n>>\n>> diff --git a/src/libcamera/include/v4l2_device.h b/src/libcamera/include/v4l2_device.h\n>> index 474c05b..5fe3d82 100644\n>> --- a/src/libcamera/include/v4l2_device.h\n>> +++ b/src/libcamera/include/v4l2_device.h\n>> @@ -45,9 +45,9 @@ public:\n>>  \tbool isOpen() const;\n>>  \tvoid close();\n>>\n>> -\tconst char *driverName() const { return caps_.driver(); }\n>> -\tconst char *deviceName() const { return caps_.card(); }\n>> -\tconst char *busName() const { return caps_.bus_info(); }\n>> +\tconst std::string driverName() const { return std::string(caps_.driver()); }\n>> +\tconst std::string deviceName() const { return std::string(caps_.card()); }\n>> +\tconst std::string busName() const { return std::string(caps_.bus_info()); }\n> \n> If we wanted to return an std::string, we should drop the const as the\n> string is returned by value.\n> \n>>\n>>  private:\n>>  \tstd::string devnode_;\n>","headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["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 498D360C65\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jan 2019 10:34:45 +0100 (CET)","from [192.168.0.21]\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7990653E;\n\tMon, 21 Jan 2019 10:34:44 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548063284;\n\tbh=WXwM2varxxKU5BMb65fdz4VnhXUr/jBIHYtDqhp9FGQ=;\n\th=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From;\n\tb=sZ5bg5RGlM1GIgiNJuEvZaIwNq7Nrfn3Dj9JRP+ROPiGXZ3PAodW4kqffB1xPZcfH\n\ttlXGRGP3dRbyJ7af7nOlvgKjHljIzBRm8MoSXThnwWLCG7qTgi4BWRInKJ5KCoKQj2\n\ti6TfEyw14GU4KIoHwM8X6KkOfuhR8Eyl/dLJNJjk=","Reply-To":"kieran.bingham@ideasonboard.com","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","References":"<20190121092020.4145-1-jacopo@jmondi.org>\n\t<20190121092646.GC4420@pendragon.ideasonboard.com>","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Openpgp":"preference=signencrypt","Autocrypt":"addr=kieran.bingham@ideasonboard.com; keydata=\n\tmQINBFYE/WYBEACs1PwjMD9rgCu1hlIiUA1AXR4rv2v+BCLUq//vrX5S5bjzxKAryRf0uHat\n\tV/zwz6hiDrZuHUACDB7X8OaQcwhLaVlq6byfoBr25+hbZG7G3+5EUl9cQ7dQEdvNj6V6y/SC\n\trRanWfelwQThCHckbobWiQJfK9n7rYNcPMq9B8e9F020LFH7Kj6YmO95ewJGgLm+idg1Kb3C\n\tpotzWkXc1xmPzcQ1fvQMOfMwdS+4SNw4rY9f07Xb2K99rjMwZVDgESKIzhsDB5GY465sCsiQ\n\tcSAZRxqE49RTBq2+EQsbrQpIc8XiffAB8qexh5/QPzCmR4kJgCGeHIXBtgRj+nIkCJPZvZtf\n\tKr2EAbc6tgg6DkAEHJb+1okosV09+0+TXywYvtEop/WUOWQ+zo+Y/OBd+8Ptgt1pDRyOBzL8\n\tRXa8ZqRf0Mwg75D+dKntZeJHzPRJyrlfQokngAAs4PaFt6UfS+ypMAF37T6CeDArQC41V3ko\n\tlPn1yMsVD0p+6i3DPvA/GPIksDC4owjnzVX9kM8Zc5Cx+XoAN0w5Eqo4t6qEVbuettxx55gq\n\t8K8FieAjgjMSxngo/HST8TpFeqI5nVeq0/lqtBRQKumuIqDg+Bkr4L1V/PSB6XgQcOdhtd36\n\tOe9X9dXB8YSNt7VjOcO7BTmFn/Z8r92mSAfHXpb07Y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ckoxRxtMD9eOAyu5wYzo/ydIPTh1QEj9SYyvp8\n\tO0g6CpxEwyHUQtF5oh15O018z3ZLztFJKR3RD42VKVsrnNDKnoY0f4U0z7eJv2NeF8xHMuiU\n\tRCIzqxX1GVYaNkKTnb/Qja8hnYnkUzY1Lc+OtwiGmXTwYsPZjjAaDX35J/RSKAoy5wGo/YFA\n\tJxB1gWThL4kOTbsqqXj9GLcyOImkW0lJGGR3o/fV91Zh63S5TKnf2YGGGzxki+ADdxVQAm+Q\n\tsbsRB8KNNvVXBOVNwko86rQqF9drZuw=","Organization":"Ideas on Board","Message-ID":"<33ee9dea-f115-555b-8130-873fd8770c70@ideasonboard.com>","Date":"Mon, 21 Jan 2019 09:34:42 +0000","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101\n\tThunderbird/60.2.1","MIME-Version":"1.0","In-Reply-To":"<20190121092646.GC4420@pendragon.ideasonboard.com>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-GB","Content-Transfer-Encoding":"7bit","Subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Mon, 21 Jan 2019 09:34:45 -0000"}},{"id":444,"web_url":"https://patchwork.libcamera.org/comment/444/","msgid":"<20190121120430.GA12780@pendragon.ideasonboard.com>","date":"2019-01-21T12:04:30","subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Kieran,\n\nOn Mon, Jan 21, 2019 at 09:34:42AM +0000, Kieran Bingham wrote:\n> On 21/01/2019 09:26, Laurent Pinchart wrote:\n> > On Mon, Jan 21, 2019 at 10:20:20AM +0100, Jacopo Mondi wrote:\n> >> Make getter functions of V4L2Device return std::string as the rest of\n> >> the library does.\n> >\n> > This is something that has been discussed during the review of Kieran's\n> > original patch I believe. The question was whether it would be more\n> > efficient to use const char * or a an std::string, and the answer to\n> > that question depends on the expected usage of those methods. If all\n> > users need an std::string, then I agree that the methods below can as\n> > well construct one. On the other hand, if some users need a const char\n> > *, it is a bit pointless to convert from const char * to std::string and\n> > then back to const char * using c_str(). This is why we have opted for\n> > const char * here.\n> \n> And because the compiler can automatically convert from a const char *\n> to a std::string using the string constructors ... so you can still use\n> these methods anywhere you would use a std::string...\n\nNote that in that case the std::string constructor will be inlined,\nwhich can be an issue if the function returning const char * is called\nfrom a very large number of places. In this specific case the functions\nare themselves inlined anyway, so it would make very little difference.\n\n> > This is a generic question that we should ask ourselves through the\n> > library. Anyone with free time to analyze the problem ? :-)\n> > \n> >> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>\n> >> ---\n> >>  src/libcamera/include/v4l2_device.h | 6 +++---\n> >>  1 file changed, 3 insertions(+), 3 deletions(-)\n> >>\n> >> diff --git a/src/libcamera/include/v4l2_device.h b/src/libcamera/include/v4l2_device.h\n> >> index 474c05b..5fe3d82 100644\n> >> --- a/src/libcamera/include/v4l2_device.h\n> >> +++ b/src/libcamera/include/v4l2_device.h\n> >> @@ -45,9 +45,9 @@ public:\n> >>  \tbool isOpen() const;\n> >>  \tvoid close();\n> >>\n> >> -\tconst char *driverName() const { return caps_.driver(); }\n> >> -\tconst char *deviceName() const { return caps_.card(); }\n> >> -\tconst char *busName() const { return caps_.bus_info(); }\n> >> +\tconst std::string driverName() const { return std::string(caps_.driver()); }\n> >> +\tconst std::string deviceName() const { return std::string(caps_.card()); }\n> >> +\tconst std::string busName() const { return std::string(caps_.bus_info()); }\n> > \n> > If we wanted to return an std::string, we should drop the const as the\n> > string is returned by value.\n> > \n> >>\n> >>  private:\n> >>  \tstd::string devnode_;","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4952760C7F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jan 2019 13:04:31 +0100 (CET)","from pendragon.ideasonboard.com\n\t(dfj612yyyyyyyyyyyyyby-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00::2])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A454953E;\n\tMon, 21 Jan 2019 13:04:30 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548072270;\n\tbh=y+NEF8E3HHg2v/Zih4EvIRHyBrJUMYgz3mA6n6/0jpk=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=DVWMMsd32t2U+x794AJBCLSO25UJusnPMoqWLjcYRBSwzoLC9ome4bzL+3yOhfBgS\n\tjPA6M81lBE20zHF2eoor/BE6JuZFy9JVlRMluuNCqTOUuCqSskBjmirSkkOSvU7yVP\n\t62r+nDQQRcKG0iglRKLrG/wKHhfh0Hkf9vH6W0xk=","Date":"Mon, 21 Jan 2019 14:04:30 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Jacopo Mondi <jacopo@jmondi.org>, libcamera-devel@lists.libcamera.org","Message-ID":"<20190121120430.GA12780@pendragon.ideasonboard.com>","References":"<20190121092020.4145-1-jacopo@jmondi.org>\n\t<20190121092646.GC4420@pendragon.ideasonboard.com>\n\t<33ee9dea-f115-555b-8130-873fd8770c70@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<33ee9dea-f115-555b-8130-873fd8770c70@ideasonboard.com>","User-Agent":"Mutt/1.10.1 (2018-07-13)","Subject":"Re: [libcamera-devel] [PATCH] libcamera: v4l2_device: Return const\n\tstd::string","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Mon, 21 Jan 2019 12:04:31 -0000"}}]