2 * (c) 2010 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
10 #include "vproxy_dev.h"
11 #include "vbus_factory.h"
15 Proxy_dev::Proxy_dev(Hw::Device *d)
18 // suck features from real dev
19 for (Hw::Device::Feature_list::const_iterator i = d->features()->begin();
20 i != d->features()->end(); ++i)
22 Dev_feature *vf = Feature_factory::create(*i);
27 // suck resources from our real dev
28 for (Resource_list::iterator i = d->resources()->begin();
29 i != d->resources()->end(); ++i)
42 static Dev_factory_t<Proxy_dev, Hw::Device> __ghwdf;