23 container = &m_tf_container;
29 std::string sstr = config.
toString();
32 bool b = this->start();
43 std::lock_guard <std::mutex> lg(m_pd_mutex);
44 return m_tf_container.getTransforms(transforms);
49 std::lock_guard <std::mutex> lg(m_pd_mutex);
50 return m_tf_container.setTransforms(transforms);
55 std::lock_guard <std::mutex> lg(m_pd_mutex);
56 return m_tf_container.setTransform (
t);
61 std::lock_guard <std::mutex> lg(m_pd_mutex);
62 return m_tf_container.deleteTransform(t1,t2);
65 void FrameTransformStorage::run()
67 std::lock_guard <std::mutex> lg(m_pd_mutex);
70 m_tf_container.checkAndRemoveExpired();
75 std::vector<yarp::math::FrameTransform> tfs;
76 bool b=iGetIf->getTransforms(tfs);
79 m_tf_container.setTransforms(tfs);
86 std::lock_guard <std::mutex> lg(m_pd_mutex);
98 std::lock_guard <std::mutex> lg(m_pd_mutex);
102 pDriver->
view(iGetIf);
114 return m_tf_container.clearAll();
119 return m_tf_container.size(size);
124 return this->start();
134 while (this->isRunning());
bool view(T *&x)
Get an interface to the device driver.
A container for a device driver.
bool isValid() const
Check if device is valid.
A base class for nested structures that can be searched.
virtual std::string toString() const =0
Return a standard text representation of the content of the object.
#define yCTrace(component,...)
#define YARP_LOG_COMPONENT(name,...)
An interface for the device drivers.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.