27
27
28
28
#include < Eigen/Geometry> // for Vector3d
29
29
30
- #include < cloe/core.hpp> // for Confable, Json, Schema
30
+ #include < fable/confable.hpp> // for Confable
31
+ #include < fable/fable_fwd.hpp> // for Schema
32
+ #include < fable/enum.hpp> // for ENUM_SERIALIZATION
31
33
32
34
namespace cloe {
33
35
34
- class LaneBoundary : public Confable {
36
+ class LaneBoundary : public fable :: Confable {
35
37
public:
36
38
/* *
37
39
* Type of lane boundary.
38
40
*/
39
41
enum class Type { Unknown, Solid, Dashed, Grass, Curb };
40
- friend void to_json (Json& j, const LaneBoundary::Type& t);
41
- friend void from_json (const Json& j, LaneBoundary::Type& t);
42
+ friend void to_json (fable:: Json& j, const LaneBoundary::Type& t);
43
+ friend void from_json (const fable:: Json& j, LaneBoundary::Type& t);
42
44
43
45
/* *
44
46
* Color of the lane boundary.
45
47
*/
46
48
enum class Color { Unknown, White, Yellow, Red, Green, Blue };
47
- friend void to_json (Json& j, const LaneBoundary::Color& t);
48
- friend void from_json (const Json& j, LaneBoundary::Color& t);
49
+ friend void to_json (fable:: Json& j, const LaneBoundary::Color& t);
50
+ friend void from_json (const fable:: Json& j, LaneBoundary::Color& t);
49
51
50
52
public:
51
- Schema schema_impl () override ;
52
- void to_json (Json& j) const override ;
53
+ fable:: Schema schema_impl () override ;
54
+ void to_json (fable:: Json& j) const override ;
53
55
54
56
CONFABLE_FRIENDS (LaneBoundary)
55
57
@@ -71,7 +73,7 @@ class LaneBoundary : public Confable {
71
73
};
72
74
73
75
using LaneBoundaries = std::map<int , LaneBoundary>;
74
- void to_json (Json& j, const LaneBoundaries& lbs);
76
+ void to_json (fable:: Json& j, const LaneBoundaries& lbs);
75
77
76
78
// clang-format off
77
79
ENUM_SERIALIZATION (LaneBoundary::Type, ({
0 commit comments