ipa: raspberrypi: Rename the controller namespace from Rpi to RpiController

This avoids a namespace clash with the RPi namespace used by the ipa and
pipeline handlers, and cleans up the syntax slightly.

There are no functional changes in this commit.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2020-09-24 10:19:25 +01:00 committed by Kieran Bingham
parent 2ba3c68b67
commit 2f46dec949
50 changed files with 99 additions and 99 deletions

View file

@ -7,7 +7,7 @@
#include "algorithm.hpp"
using namespace RPi;
using namespace RPiController;
void Algorithm::Read([[maybe_unused]] boost::property_tree::ptree const &params)
{
@ -32,7 +32,7 @@ void Algorithm::Process([[maybe_unused]] StatisticsPtr &stats,
// For registering algorithms with the system:
static std::map<std::string, AlgoCreateFunc> algorithms;
std::map<std::string, AlgoCreateFunc> const &RPi::GetAlgorithms()
std::map<std::string, AlgoCreateFunc> const &RPiController::GetAlgorithms()
{
return algorithms;
}