YARP
Yet Another Robot Platform
IMultipleWrapper.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_DEV_IMULTIPLEWRAPPER_H
8 #define YARP_DEV_IMULTIPLEWRAPPER_H
9 
10 #include <yarp/dev/api.h>
12 
13 namespace yarp {
14 namespace dev {
15 
27 {
28 public:
32  virtual ~IMultipleWrapper();
33 
39  virtual bool attachAll(const PolyDriverList& drivers) = 0;
40 
45  virtual bool detachAll() = 0;
46 };
47 
48 } // namespace dev
49 } // namespace yarp
50 
51 #endif // YARP_DEV_IMULTIPLEWRAPPER_H
Interface for an object that can wrap/attach to to another.
virtual bool detachAll()=0
Detach the object (you must have first called attach).
virtual ~IMultipleWrapper()
Destructor.
virtual bool attachAll(const PolyDriverList &drivers)=0
Attach to a list of objects.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18