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

@ -7,15 +7,21 @@
using namespace plugin;
Component::Component(component::Type arg_type)
Component::Component(component::Type arg_type, const std::string& arg_name)
{
type = arg_type;
name = arg_name;
}
Component::~Component()
{
}
const std::string& Component::Name() const
{
return name;
}
component::Type Component::Type() const
{
return type;
@ -63,4 +69,8 @@ void Component::Describe(ODesc* d) const
d->Add("]");
d->Add(" ");
d->Add(name);
d->Add(" (");
DoDescribe(d);
d->Add(")");
}