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
>
14
#include <
yarp/dev/PolyDriverList.h
>
15
16
namespace
yarp
{
17
namespace
dev {
18
29
class
YARP_dev_API
IMultipleWrapper
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
yarp::dev::PolyDriverList
Definition:
PolyDriverList.h:22
PolyDriverList.h
yarp::dev::IMultipleWrapper::detachAll
virtual bool detachAll()=0
Detach the object (you must have first called attach).
YARP_dev_API
#define YARP_dev_API
Definition:
api.h:19
yarp::dev::IMultipleWrapper
Interface for an object that can wrap/attach to to another.
Definition:
IMultipleWrapper.h:30
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
yarp::dev::IMultipleWrapper::~IMultipleWrapper
virtual ~IMultipleWrapper()
Destructor.
api.h
yarp::dev::IMultipleWrapper::attachAll
virtual bool attachAll(const PolyDriverList &p)=0
Attach to a list of objects.
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_dev
src
yarp
dev
IMultipleWrapper.h
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20