: name_(xbt_strdup(name)),
componentType_(componentType),
containingAS_(containingAS)
{
if (containingAS != nullptr)
id_ = containingAS->addComponent(this);
: name_(xbt_strdup(name)),
componentType_(componentType),
containingAS_(containingAS)
{
if (containingAS != nullptr)
id_ = containingAS->addComponent(this);