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.
9 #include "vbus_factory.h"
14 Dev_factory::create(std::string const &_class)
16 Name_map &m = name_map();
17 Name_map::iterator i = m.find(_class);
20 printf("WARNING: cannot create virtual device: '%s'\n",
25 return i->second->vcreate();