YARP
Yet Another Robot Platform
WrapperMultiple.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_WRAPPERMULTIPLE_H
7 #define YARP_DEV_WRAPPERMULTIPLE_H
8 
9 #include <yarp/dev/IWrapper.h>
11 
12 namespace yarp {
13 namespace dev {
14 
26  public yarp::dev::IWrapper,
28 {
29 public:
30 
34  ~WrapperMultiple() override;
35 
36  // yarp::dev::IWrapper
37  bool attach(PolyDriver *driver) final;
38  bool detach() final;
39 };
40 
41 
42 } // namespace dev
43 } // namespace yarp
44 
45 #endif // YARP_DEV_WRAPPERMULTIPLE_H
Interface for an object that can wrap/attach to to another.
Interface for an object that can wrap/or "attach" to another.
Definition: IWrapper.h:26
A container for a device driver.
Definition: PolyDriver.h:24
Helper interface for an object that can wrap/or "attach" to one or more other devices.
~WrapperMultiple() override
Destructor.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18