-
Notifications
You must be signed in to change notification settings - Fork 84
declare__identifier_8h
Timur Chikichev edited this page Nov 9, 2021
·
3 revisions
Name | |
---|---|
DECLARE_IDENTIFIER(IdentifierType) |
#define DECLARE_IDENTIFIER(
IdentifierType
)
struct IdentifierType { \
std::string value; \
inline IdentifierType() = default; \
inline explicit IdentifierType(const std::string& value): value(value) {} \
inline bool isValid() const { return !value.empty(); } \
inline bool operator< (const IdentifierType& _id)const { return value < _id.value; } \
inline bool operator!= (const IdentifierType& _id)const { return value != _id.value; } \
inline bool operator== (const IdentifierType& _id)const { return value == _id.value; } \
}; \
\
struct Hasher##IdentifierType \
{ \
std::size_t operator()(const IdentifierType& k) const \
{ \
return std::hash<std::string>()(k.value); \
} \
};
Updated on 2021-11-09 at 15:07:06 +0300
Indoor-Positioning-And-Navigation-Algorithms
- Pose estimation
namespace navigation_core
- Barometer
- ComplementaryFilter
- DeviceProperties
- LevelEstimator
- LevelEstimatorRadiomap
- LevelEstimatorTransmitters
- LevelHistory
- Likelihood
- LikelihoodRadiomap
- MeasurementsPreprocessor
- NavigationClientImpl
- NavigationTimeSmoother
- Pedometer
- PolynomialFit
- PositionEstimator
- PositionEstimatorKnn
- PositionEstimatorOutdoor
- PositionEstimatorZone
- PositionPostprocessor
- PositionSmoother
- PositionSmootherAB
- PositionSmootherLstsq
- Quaternion
- RadioMeasurementBuffer
- SensorFusion
- SigmaFilter
- Triangle
- TriangleEdge
- Trilateration