Rename these files and change ifdef guards
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#ifndef _BODY_H
|
||||
#define _BODY_H
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
|
||||
class Body
|
||||
{
|
||||
public:
|
||||
Body() = default;
|
||||
~Body() = default;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // _BODY_H
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef _MRNTT_BODYMAP_BODY_H
|
||||
#define _MRNTT_BODYMAP_BODY_H
|
||||
|
||||
namespace mrntt {
|
||||
namespace bodyMap {
|
||||
|
||||
class Body
|
||||
{
|
||||
public:
|
||||
Body() = default;
|
||||
~Body() = default;
|
||||
};
|
||||
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // _MRNTT_BODYMAP_BODY_H
|
||||
+6
-6
@@ -1,12 +1,12 @@
|
||||
#ifndef MRNTT_BODY_BODYMAP_H
|
||||
#define MRNTT_BODY_BODYMAP_H
|
||||
#ifndef MRNTT_BODYMAP_BODYMAP_H
|
||||
#define MRNTT_BODYMAP_BODYMAP_H
|
||||
|
||||
#include <set>
|
||||
#include <cstdint>
|
||||
#include <body/limb.h>
|
||||
#include <bodyMap/limb.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
namespace bodyMap {
|
||||
|
||||
class BodyMap {
|
||||
public:
|
||||
@@ -17,7 +17,7 @@ public:
|
||||
std::set<uint32_t, Limb> limbs;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // MRNTT_BODY_BODYMAP_H
|
||||
#endif // MRNTT_BODYMAP_BODYMAP_H
|
||||
+7
-7
@@ -1,14 +1,14 @@
|
||||
#ifndef MRNTT_BODY_BODYMESSAGE_H
|
||||
#define MRNTT_BODY_BODYMESSAGE_H
|
||||
#ifndef MRNTT_BODYMAP_BODYMESSAGE_H
|
||||
#define MRNTT_BODYMAP_BODYMESSAGE_H
|
||||
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include <body/limb.h>
|
||||
#include <body/part.h>
|
||||
#include <bodyMap/limb.h>
|
||||
#include <bodyMap/part.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
namespace bodyMap {
|
||||
|
||||
class BodyMessage
|
||||
{
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
const Part& part;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // MRNTT_BODY_BODYMESSAGE_H
|
||||
#endif // MRNTT_BODYMAP_BODYMESSAGE_H
|
||||
@@ -1,14 +1,14 @@
|
||||
#ifndef MRNTT_BODY_LIMB_H
|
||||
#define MRNTT_BODY_LIMB_H
|
||||
#ifndef MRNTT_BODYMAP_LIMB_H
|
||||
#define MRNTT_BODYMAP_LIMB_H
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <cstdint>
|
||||
|
||||
#include <body/part.h>
|
||||
#include <bodyMap/part.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
namespace bodyMap {
|
||||
|
||||
class Limb
|
||||
{
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
std::set<uint32_t, Part> parts;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // MRNTT_BODY_LIMB_H
|
||||
#endif // MRNTT_BODYMAP_LIMB_H
|
||||
@@ -1,13 +1,13 @@
|
||||
#ifndef _BODY_MAP_H
|
||||
#define _BODY_MAP_H
|
||||
#ifndef _BODYMAP_MAP_H
|
||||
#define _BODYMAP_MAP_H
|
||||
|
||||
#include <set>
|
||||
#include <cstdint>
|
||||
|
||||
#include <body/limb.h>
|
||||
#include <bodyMap/limb.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
namespace bodyMap {
|
||||
|
||||
class BodyMap {
|
||||
public:
|
||||
@@ -17,7 +17,7 @@ public:
|
||||
std::set<uint32_t, Limb> limbs;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // _BODY_MAP_H
|
||||
#endif // _BODYMAP_MAP_H
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef BODYPART_H
|
||||
#define BODYPART_H
|
||||
#ifndef BODYMAP_PART_H
|
||||
#define BODYMAP_PART_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <sensors/interoceptor.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace body {
|
||||
namespace bodyMap {
|
||||
|
||||
class Spot
|
||||
{
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
std::set<uint32_t, Spot> spots;
|
||||
};
|
||||
|
||||
} // namespace body
|
||||
} // namespace bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // BODYPART_H
|
||||
#endif // BODYMAP_PART_H
|
||||
Reference in New Issue
Block a user