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 
10 
12  name(name)
13 {
14  holding.link(source);
15 }
16 
18 {
19  holding.close();
20 }
virtual ~DriverLinkCreator() override
DriverLinkCreator(const std::string &name, PolyDriver &source)
A container for a device driver.
Definition: PolyDriver.h:27
bool link(PolyDriver &alt)
Make this device be a link to an existing one.
Definition: PolyDriver.cpp:204