YARP
Yet Another Robot Platform
WrapperSingle.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_WRAPPERSINGLE_H
7 #define YARP_DEV_WRAPPERSINGLE_H
8 
9 #include <yarp/dev/IWrapper.h>
11 
12 namespace yarp {
13 namespace dev {
14 
30  public yarp::dev::IWrapper,
32 {
33 public:
34 
38  ~WrapperSingle() override;
39 
40  // yarp::dev::IMultipleWrapper
41  bool attachAll(const yarp::dev::PolyDriverList& drivers) final;
42  bool detachAll() final;
43 };
44 
45 
46 } // namespace dev
47 } // namespace yarp
48 
49 #endif // YARP_DEV_WRAPPERSINGLE_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
Helper interface for an object that can wrap/or "attach" to a single other device.
Definition: WrapperSingle.h:32
~WrapperSingle() override
Destructor.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18