YARP
Yet Another Robot Platform
DriverLinkCreator.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
7
9 name(name)
10{
11 holding.link(source);
12}
13
15{
16 holding.close();
17}
virtual ~DriverLinkCreator() override
DriverLinkCreator(const std::string &name, PolyDriver &source)
A container for a device driver.
Definition: PolyDriver.h:23
bool link(PolyDriver &alt)
Make this device be a link to an existing one.
Definition: PolyDriver.cpp:201