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::dev {
13 
29  public yarp::dev::IWrapper,
31 {
32 public:
33 
37  ~WrapperSingle() override;
38 
39  // yarp::dev::IMultipleWrapper
40  bool attachAll(const yarp::dev::PolyDriverList& drivers) final;
41  bool detachAll() final;
42 };
43 
44 
45 } // namespace yarp::dev
46 
47 #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:25
Helper interface for an object that can wrap/or "attach" to a single other device.
Definition: WrapperSingle.h:31
~WrapperSingle() override
Destructor.
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition: api.h:18