|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
30 if (config.
check(
"delay")) {
34 yCInfo(SEGFAULT) <<
"Starting thread";
36 yCInfo(SEGFAULT) <<
"Thread started";
48 yCInfo(SEGFAULT) <<
"Waiting for" << delay <<
"seconds before crashing";
A base class for nested structures that can be searched.
void run() override
Main body of the new thread.
#define yCWarning(component,...)
#define YARP_LOG_COMPONENT(name,...)
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
virtual Value & find(const std::string &key) const =0
Gets a value corresponding to a given keyword.
#define yCInfo(component,...)
bool start()
Start the new thread running.
bool close() override
Close the DeviceDriver.
virtual yarp::conf::float64_t asFloat64() const
Get 64-bit floating point value.
void delay(double seconds)
Wait for a certain number of seconds.