YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
RobotDescription_nwc_yarp.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEV_ROBOTDESCRIPTION_NWC_YARP_H
7#define YARP_DEV_ROBOTDESCRIPTION_NWC_YARP_H
8
9#include <yarp/os/Network.h>
13#include <yarp/sig/Vector.h>
14#include <yarp/os/Time.h>
15#include <mutex>
16#include <string>
17#include <yarp/dev/PolyDriver.h>
19
21
22
24
37{
38protected:
39 std::mutex m_mutex;
42
43public:
44 /* DeviceDriver methods */
45 bool open(yarp::os::Searchable& config) override;
46 bool close() override;
47
48 yarp::dev::ReturnValue getAllDevices(std::vector<yarp::dev::DeviceDescription>& dev_list) override;
49 yarp::dev::ReturnValue getAllDevicesByType(const std::string &type, std::vector<yarp::dev::DeviceDescription>& dev_list) override;
51 yarp::dev::ReturnValue unregisterDevice(const std::string& device_name) override;
53};
54
55#endif // YARP_DEV_ROBOTDESCRIPTION_NWC_YARP_H
define control board standard interfaces
contains the definition of a Vector type
This class is the parameters parser for class RobotDescription_nwc_yarp.
robotDescription_nwc_yarp: This client device is used to connect to a robotDescription_nws_yarp and a...
yarp::dev::ReturnValue unregisterAll() override
Unregister all the devices.
yarp::dev::ReturnValue unregisterDevice(const std::string &device_name) override
Unregister a running yarp device from a robot description server.
yarp::dev::ReturnValue registerDevice(const yarp::dev::DeviceDescription &dev) override
Register a new running yarp device into a robot description server.
bool close() override
Close the DeviceDriver.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue getAllDevicesByType(const std::string &type, std::vector< yarp::dev::DeviceDescription > &dev_list) override
Ask a list of all registered yarp device drivers whose type corresponds to the given param.
yarp::dev::ReturnValue getAllDevices(std::vector< yarp::dev::DeviceDescription > &dev_list) override
Ask the complete list of all yarp device drivers registered by a robot description server.
Interface implemented by all device drivers.
This interface allows users to retrieve a list which contains the names and the types of the currentl...
A mini-server for network communication.
Definition Port.h:46
A base class for nested structures that can be searched.
Definition Searchable.h:31