YARP
Yet Another Robot Platform
PolyDriverList.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_POLYDRIVERLIST_H
11
#define YARP_DEV_POLYDRIVERLIST_H
12
13
#include <
yarp/dev/PolyDriverDescriptor.h
>
14
15
namespace
yarp
{
16
namespace
dev {
17
class
PolyDriverList;
18
}
19
}
20
21
class
YARP_dev_API
yarp
::
dev::PolyDriverList
22
{
23
public
:
24
PolyDriverList
();
25
~PolyDriverList
();
26
27
yarp::dev::PolyDriverDescriptor
*
operator[]
(
int
k);
28
29
const
PolyDriverDescriptor
*
operator[]
(
int
k)
const
;
30
31
int
size
()
const
;
32
33
void
push
(
PolyDriver
*p,
const
char
*k);
34
35
void
push
(
PolyDriverDescriptor
&v);
36
37
const
PolyDriverList
&
operator=
(
const
PolyDriverList
&);
38
39
protected
:
40
//protect use of default copy ctor
41
PolyDriverList
(
const
PolyDriverList
&);
42
43
private
:
44
45
void
*descriptors;
46
};
47
48
#endif // YARP_DEV_POLYDRIVERLIST_H
yarp::dev::PolyDriverDescriptor
Definition:
PolyDriverDescriptor.h:24
yarp::dev::PolyDriverList::PolyDriverList
PolyDriverList()
Definition:
PolyDriverList.cpp:19
yarp::dev::PolyDriverList::operator=
const PolyDriverList & operator=(const PolyDriverList &)
Definition:
PolyDriverList.cpp:54
yarp::dev::PolyDriverList::size
int size() const
Definition:
PolyDriverList.cpp:39
yarp::dev::PolyDriverList
Definition:
PolyDriverList.h:22
yarp::dev::PolyDriverList::push
void push(PolyDriver *p, const char *k)
Definition:
PolyDriverList.cpp:44
yarp::dev::PolyDriverList::operator[]
yarp::dev::PolyDriverDescriptor * operator[](int k)
Definition:
PolyDriverList.cpp:29
yarp::dev::PolyDriverList::PolyDriverList
PolyDriverList(const PolyDriverList &)
yarp::dev::PolyDriver
A container for a device driver.
Definition:
PolyDriver.h:27
YARP_dev_API
#define YARP_dev_API
Definition:
api.h:19
yarp::dev::PolyDriverList::~PolyDriverList
~PolyDriverList()
Definition:
PolyDriverList.cpp:24
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
PolyDriverDescriptor.h
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_dev
src
yarp
dev
PolyDriverList.h
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20