6#ifndef YARP_DEV_FRAMETRANSFORM_UTILS_H
7#define YARP_DEV_FRAMETRANSFORM_UTILS_H
36 using ContainerType = std::vector<yarp::math::FrameTransform>;
48 Iterator(ContainerType& data, ContainerType::iterator ptr) :
52 while (m_ptr != m_data.end() && !m_ptr->isValid()) {
65 }
while (m_ptr != m_data.end() && !m_ptr->isValid());
73 friend bool operator!= (
const Iterator& a,
const Iterator& b) {
return a.m_ptr != b.m_ptr; };
76 ContainerType::iterator m_ptr;
77 ContainerType& m_data;
83 return Iterator(m_transforms, m_transforms.begin());
88 return Iterator(m_transforms, m_transforms.end());
100 double m_timeout = 0.2;
101 bool m_verbose_debug =
false;
119 bool size(
size_t& size)
const;
123 bool checkAndRemoveExpired();
124 bool checkAndRemoveExpired()
const;
bool operator==(const struct v4l2_control &left, const struct v4l2_control &right)
contains the definition of a Vector type
For streams capable of holding different kinds of content, check what they actually have.