YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
13namespace yarp::dev {
14
26{
27public:
32
38 virtual bool attachAll(const PolyDriverList& drivers) = 0;
39
44 virtual bool detachAll() = 0;
45};
46
47} // namespace yarp::dev
48
49#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.
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition api.h:18