YARP
Yet Another Robot Platform
PolyDriverDescriptor.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_POLYDRIVERDESCRIPTOR_H
8
#define YARP_DEV_POLYDRIVERDESCRIPTOR_H
9
10
11
#include <
yarp/dev/PolyDriver.h
>
12
#include <string>
13
14
namespace
yarp
{
15
namespace
dev {
16
class
PolyDriverDescriptor;
17
}
18
}
19
20
class
YARP_dev_API
yarp
::
dev::PolyDriverDescriptor
21
{
22
public
:
23
/* pointer to the polydriver */
24
PolyDriver
*
poly
;
25
/* descriptor */
26
YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG
(std::string)
key
;
27
28
PolyDriverDescriptor
()
29
{
30
poly=0;
31
key=
""
;
32
}
33
34
PolyDriverDescriptor
(
PolyDriver
*np,
const
char
*k)
35
{
36
poly=np;
37
key=std::string(k);
38
}
39
};
40
41
#endif
// YARP_DEV_POLYDRIVERDESCRIPTOR_H
PolyDriver.h
yarp::dev::PolyDriverDescriptor
Definition:
PolyDriverDescriptor.h:21
yarp::dev::PolyDriverDescriptor::key
std::string key
Definition:
PolyDriverDescriptor.h:26
yarp::dev::PolyDriverDescriptor::poly
PolyDriver * poly
Definition:
PolyDriverDescriptor.h:24
yarp::dev::PolyDriverDescriptor::PolyDriverDescriptor
PolyDriverDescriptor()
Definition:
PolyDriverDescriptor.h:28
yarp::dev::PolyDriverDescriptor::PolyDriverDescriptor
PolyDriverDescriptor(PolyDriver *np, const char *k)
Definition:
PolyDriverDescriptor.h:34
yarp::dev::PolyDriver
A container for a device driver.
Definition:
PolyDriver.h:24
yarp
The main, catch-all namespace for YARP.
Definition:
dirs.h:16
YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
Definition:
system.h:336
YARP_dev_API
#define YARP_dev_API
Definition:
api.h:18
YARP
3.5.1
src
libYARP_dev
src
yarp
dev
PolyDriverDescriptor.h
Generated on Sat Dec 25 2021 02:23:03 for YARP by
1.9.1