Add namespaces
Introduce namespaces to SLAM lib. Using namespaces ensures better code organization and readability, but also prevent polluting outer namespace, names conflicts, or hiding symbols.
- All SLAM lib now lies in
LidarSlamnamespace. - All helpers defined in
LidarSlam/Utilities.hare moved toUtilsnamespace. Processing duration helpers are moved in nested namespaceTimer. - All helpers locally defined in a single
cxxfile are moved to an anonymous namespace insideUtils, so that they are not exported nor available from outside.
To ensure using the correct files, the include guards in SLAM lib headers are replaced by #pragma once declarations.
WARNING : all external code directly using the LidarSlam lib won't compile anymore until you add the namespace.
Edited by Nicolas Cadart