ethzasl-msf - Modular Sensor Fusion
Time delay compensated single and multi sensor fusion framework based on an EKF
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
msf_sortedContainer.h File Reference
#include <msf_core/msf_types.hpp>
#include <msf_core/msf_tools.h>
#include <msf_core/msf_macros.h>
#include <iomanip>

Go to the source code of this file.

Classes

class  msf_core::SortedContainer< T, PrototypeInvalidT >
 Manages a sorted container with strict less than ordering used to store state and measurement objects which can then be queried for closest states/measurements to a given time instant. More...

Namespaces

namespace  msf_core

Macros

#define CHECK_IN_BOUNDS(iterator, container)

Macro Definition Documentation

#define CHECK_IN_BOUNDS (   iterator,
  container 
)
Value:
do { \
decltype(iterator) __it = it; \
++__it; \
if (__it == container.begin()) { \
MSF_ERROR_STREAM("Iterator out of bounds (begin) " << \
__FILE__ << ":" << __LINE__); \
} \
if (iterator == container.end()) { \
MSF_ERROR_STREAM("Iterator out of bounds (end) " << \
__FILE__ << ":" << __LINE__); \
} \
} while(0);