Component Class Reference

#include <component.h>

Inheritance diagram for Component:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Component ()
 Component (int lpId)
 ~Component ()
void setComponentId (int id)
void addInputLink (Link *l)
void addOutputLink (Link *l)
int myId ()

Public Attributes

std::vector< Link * > inLinks
std::vector< Link * > outLinks

Private Attributes

int componentId


Detailed Description

Definition at line 11 of file component.h.


Constructor & Destructor Documentation

Component::Component (  ) 

Definition at line 10 of file component.cc.

References Simulator::registerComponent().

Here is the call graph for this function:

Component::Component ( int  lpId  ) 

Definition at line 15 of file component.cc.

References Simulator::registerComponent().

Here is the call graph for this function:

Component::~Component (  ) 

Definition at line 5 of file component.cc.


Member Function Documentation

void Component::addInputLink ( Link l  ) 

Definition at line 25 of file component.cc.

References inLinks.

void Component::addOutputLink ( Link l  ) 

Definition at line 30 of file component.cc.

References outLinks.

Referenced by Link::Link().

Here is the caller graph for this function:

int Component::myId (  )  [inline]

void Component::setComponentId ( int  id  ) 

Definition at line 20 of file component.cc.

References componentId.

Referenced by Simulator::registerComponent().

Here is the caller graph for this function:


Member Data Documentation

int Component::componentId [private]

Definition at line 14 of file component.h.

Referenced by myId(), and setComponentId().

std::vector<Link*> Component::inLinks

Definition at line 16 of file component.h.

Referenced by addInputLink().

std::vector<Link*> Component::outLinks

Definition at line 17 of file component.h.

Referenced by addOutputLink().


The documentation for this class was generated from the following files:

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