YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ControlBoardRemapper.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEV_CONTROLBOARDREMAPPER_CONTROLBOARDREMAPPER_H
7#define YARP_DEV_CONTROLBOARDREMAPPER_CONTROLBOARDREMAPPER_H
8
9#include <yarp/os/Network.h>
10
12#include <yarp/dev/PolyDriver.h>
15#include <yarp/os/Semaphore.h>
17
18#include <string>
19#include <vector>
20
21
25
26#ifdef MSVC
27 #pragma warning(disable:4355)
28#endif
29
42
43{
44public:
50 ~ControlBoardRemapper() override = default;
51
56 bool close() override;
57
63 bool open(yarp::os::Searchable &prop) override;
64
65 bool detachAll() override;
66
67 bool attachAll(const yarp::dev::PolyDriverList &l) override;
68};
69
70#endif // YARP_DEV_CONTROLBOARDREMAPPER_CONTROLBOARDREMAPPER_H
define control board standard interfaces
This class is the parameters parser for class ControlBoardRemapper.
controlboardremapper : device that takes a list of axes from multiple controlboards and expose them a...
ControlBoardRemapper & operator=(ControlBoardRemapper &&)=delete
bool close() override
Close the device driver by deallocating all resources and closing ports.
ControlBoardRemapper()=default
ControlBoardRemapper & operator=(const ControlBoardRemapper &)=delete
bool open(yarp::os::Searchable &prop) override
Open the device driver.
~ControlBoardRemapper() override=default
bool detachAll() override
Detach the object (you must have first called attach).
ControlBoardRemapper(const ControlBoardRemapper &)=delete
bool attachAll(const yarp::dev::PolyDriverList &l) override
Attach to a list of objects.
ControlBoardRemapper(ControlBoardRemapper &&)=delete
Interface implemented by all device drivers.
Interface for an object that can wrap/attach to to another.
A base class for nested structures that can be searched.
Definition Searchable.h:31