10 return std::unique_ptr<MACComponent>(
new MACComponent());
20 return component->
get_type() == m_type;
virtual ComponentType get_type() const =0
static bool is_class_of(const GateTypeComponent *component)
std::vector< GateTypeComponent * > get_components(const std::function< bool(const GateTypeComponent *)> &filter=nullptr) const override
static std::unique_ptr< MACComponent > create()
ComponentType get_type() const override