40 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
47 for (
auto& it : transforms)
56 if (new_tr.
isValid()==
false)
return true;
58 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
67 if (it.isStatic ==
false)
94 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
95 if (t1 ==
"*" && t2 ==
"*")
146 yCError(FRAMETRANSFORMCONTAINER) <<
"Transformation deletion not successful";
152 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
162 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
167 if (curr_t - it->timestamp >
m_timeout &&
168 it->isStatic ==
false)
174 <<
"Transform expired:" << it->src_frame_id <<
"->" << it->dst_frame_id <<
"with timestamp" <<
std::to_string(it->timestamp);}
177 <<
"Invalid transform expired:" << it->src_frame_id <<
"->"<< it->dst_frame_id <<
"with timestamp" <<
std::to_string(it->timestamp);}
193 std::lock_guard<std::recursive_mutex> lock(
m_trf_mutex);
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
#define yCIDebug(component, id,...)
std::string to_string(IntegerType x)
For streams capable of holding different kinds of content, check what they actually have.
double now()
Return the current time in seconds, relative to an arbitrary starting point.
An interface to the operating system, including Port based communication.