Merge branch 'topic/robin/dynamic-plugins-2.3' into topic/robin/pktsrc

This commit is contained in:
Robin Sommer 2014-01-27 09:31:15 -08:00
commit 191b63e334
279 changed files with 10030 additions and 1258 deletions

View file

@ -5,40 +5,16 @@
using namespace iosource;
Component::Component(const std::string& arg_name)
: plugin::Component(plugin::component::IOSOURCE)
Component::Component(const std::string& name)
: plugin::Component(plugin::component::IOSOURCE, name)
{
name = arg_name;
}
Component::Component(plugin::component::Type type, const std::string& arg_name)
: plugin::Component(type)
Component::Component(plugin::component::Type type, const std::string& name)
: plugin::Component(type, name)
{
name = arg_name;
}
Component::Component(const Component& other)
: plugin::Component(other)
{
name = other.name;
}
Component::~Component()
{
}
void Component::Describe(ODesc* d) const
{
plugin::Component::Describe(d);
d->Add(name);
}
Component& Component::operator=(const Component& other)
{
plugin::Component::operator=(other);
if ( &other != this )
name = other.name;
return *this;
}