component.cc

Go to the documentation of this file.
00001 #include "component.h"
00002 
00003 class Simulator;
00004 
00005 Component::~Component()
00006 {
00007 
00008 }
00009 
00010 Component::Component()
00011 {
00012   Simulator::registerComponent(this, 0);
00013 }
00014 
00015 Component::Component(int lpId)
00016 {
00017   Simulator::registerComponent(this, lpId);
00018 }
00019 
00020 void Component::setComponentId(int id)
00021 {
00022   componentId=id;
00023 }
00024 
00025 void Component::addInputLink(Link* l)
00026 {
00027   inLinks.push_back(l);
00028 }
00029 
00030 void Component::addOutputLink(Link* l)
00031 {
00032   outLinks.push_back(l);
00033 }

Generated on Tue Oct 19 17:22:00 2010 for IRIS by  doxygen 1.5.8