26void RemoteControlBoardRemapper::closeAllRemoteControlBoards()
38 m_remoteControlBoardDevices.resize(0);
54 closeAllRemoteControlBoards();
113 options.
put(
"device",
"remote_controlboard");
114 options.
put(
"local", local);
115 options.
put(
"remote", remote);
119 bool ok = m_remoteControlBoardDevices[
ctrlBrd]->open(options);
121 if( !ok || !(m_remoteControlBoardDevices[
ctrlBrd]->isValid()) )
124 closeAllRemoteControlBoards();
139 closeAllRemoteControlBoards();
150 closeAllRemoteControlBoards();
bool close() override
Close the device driver by deallocating all resources and closing ports.
bool open(yarp::os::Searchable &prop) override
Open the device driver.
bool detachAll() override
Detach the object (you must have first called attach).
bool attachAll(const yarp::dev::PolyDriverList &l) override
Attach to a list of objects.
bool open(yarp::os::Searchable &prop) override
Open the device driver.
bool close() override
Close the device driver by deallocating all resources and closing ports.
A container for a device driver.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
A class for storing options and configuration information.
Value & find(const std::string &key) const override
Gets a value corresponding to a given keyword.
void fromString(const std::string &txt, bool wipe=true)
Interprets a string as a list of properties.
void put(const std::string &key, const std::string &value)
Associate the given key with the given string.
bool check(const std::string &key) const override
Check if there exists a property of the given name.
Bottle & findGroup(const std::string &key) const override
Gets a list corresponding to a given keyword.
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.
virtual bool isString() const
Checks if value is a string.
virtual Bottle * asList() const
Get list value.
virtual std::string asString() const
Get string value.
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.