29 std::string sstr = config.
toString();
31 if (config.
check(
"FrameTransform_verbose_debug") &&
32 config.
find(
"FrameTransform_verbose_debug").
asInt32() == 1)
39 bool b = this->
start();
50 std::lock_guard <std::mutex> lg(m_pd_mutex);
56 std::lock_guard <std::mutex> lg(m_pd_mutex);
62 std::lock_guard <std::mutex> lg(m_pd_mutex);
68 std::lock_guard <std::mutex> lg(m_pd_mutex);
72void FrameTransformStorage::run()
74 std::lock_guard <std::mutex> lg(m_pd_mutex);
82 std::vector<yarp::math::FrameTransform> tfs;
93 std::lock_guard <std::mutex> lg(m_pd_mutex);
105 std::lock_guard <std::mutex> lg(m_pd_mutex);
109 pDriver->
view(iGetIf);
131 return this->
start();
virtual std::string id() const
Return the id assigned to the PolyDriver.
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.
bool isRunning() const
Returns true when the thread is started, false otherwise.
void askToStop()
Stop the thread.
bool start()
Call this to start the thread.
void stop()
Call this to stop the thread, this call blocks until the thread is terminated (and releaseThread() ca...
A base class for nested structures that can be searched.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
virtual std::string toString() const =0
Return a standard text representation of the content of the object.
virtual Value & find(const std::string &key) const =0
Gets a value corresponding to a given keyword.
virtual std::int32_t asInt32() const
Get 32-bit integer value.
#define yCTrace(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.