YARP
Yet Another Robot Platform
IMultipleWrapper.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_DEV_IMULTIPLEWRAPPER_H
11 #define YARP_DEV_IMULTIPLEWRAPPER_H
12 
13 #include <yarp/dev/api.h>
15 
16 namespace yarp {
17 namespace dev {
18 
30 {
31 public:
35  virtual ~IMultipleWrapper();
36 
42  virtual bool attachAll(const PolyDriverList &p)=0;
43 
48  virtual bool detachAll()=0;
49 };
50 
51 } // namespace dev
52 } // namespace yarp
53 
54 #endif // YARP_DEV_IMULTIPLEWRAPPER_H
Interface for an object that can wrap/attach to to another.
virtual bool attachAll(const PolyDriverList &p)=0
Attach to a list of objects.
virtual bool detachAll()=0
Detach the object (you must have first called attach).
virtual ~IMultipleWrapper()
Destructor.
The main, catch-all namespace for YARP.
Definition: environment.h:18
#define YARP_dev_API
Definition: api.h:19