YARP
Yet Another Robot Platform
PolyDriverList.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_POLYDRIVERLIST_H
8#define YARP_DEV_POLYDRIVERLIST_H
9
11
12namespace yarp::dev {
13class PolyDriverList;
14}
15
17{
18public:
21
23
24 const PolyDriverDescriptor *operator[] (int k) const;
25
26 int size() const;
27
28 void push(PolyDriver *p, const char *k);
29
31
33
34protected:
35 //protect use of default copy ctor
37
38private:
39
40 void *descriptors;
41};
42
43#endif // YARP_DEV_POLYDRIVERLIST_H
PolyDriverList(const PolyDriverList &)
void push(PolyDriver *p, const char *k)
yarp::dev::PolyDriverDescriptor * operator[](int k)
const PolyDriverList & operator=(const PolyDriverList &)
A container for a device driver.
Definition: PolyDriver.h:23
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18