YARP
Yet Another Robot Platform
DriverLinkCreator.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
#include <
yarp/dev/DriverLinkCreator.h
>
10
11
yarp::dev::DriverLinkCreator::DriverLinkCreator
(
const
std::string& name,
PolyDriver
& source) :
12
name(name)
13
{
14
holding.
link
(source);
15
}
16
17
yarp::dev::DriverLinkCreator::~DriverLinkCreator
()
18
{
19
holding.close();
20
}
yarp::dev::PolyDriver::link
bool link(PolyDriver &alt)
Make this device be a link to an existing one.
Definition:
PolyDriver.cpp:204
yarp::dev::PolyDriver
A container for a device driver.
Definition:
PolyDriver.h:27
DriverLinkCreator.h
yarp::dev::DriverLinkCreator::DriverLinkCreator
DriverLinkCreator(const std::string &name, PolyDriver &source)
Definition:
DriverLinkCreator.cpp:11
yarp::dev::DriverLinkCreator::~DriverLinkCreator
virtual ~DriverLinkCreator() override
Definition:
DriverLinkCreator.cpp:17
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_dev
src
yarp
dev
DriverLinkCreator.cpp
Generated on Sun Jan 3 2021 02:46:23 for YARP by
1.8.20