#include <link.h>
Public Member Functions | |
Link (int srcComponentId, int linkWidth) | |
void | Send (uint64_t data, int srcComponentId) |
Public Attributes | |
int | src |
int | width |
list< OutputBase * > | outputs |
Definition at line 35 of file link.h.
Link::Link | ( | int | srcComponentId, | |
int | linkWidth | |||
) |
Definition at line 6 of file link.cc.
References Component::addOutputLink(), Simulator::getComponentDesc(), ComponentDescription::lpId, Simulator::MyRank(), ComponentDescription::ptr, src, and width.
void Link::Send | ( | uint64_t | data, | |
int | srcComponentId | |||
) |
Definition at line 19 of file link.cc.
References OutputBase::CallHandler(), Simulator::getComponentDesc(), ComponentDescription::lpId, Simulator::MyRank(), Simulator::Now(), outputs, and Simulator::Schedule().
list<OutputBase*> Link::outputs |
int Link::width |