
#include <charisma.h>

Public Member Functions | |
| Component (const char *n, const char *t) | |
| ~Component () | |
| char * | getName (void) |
| char * | getType (void) |
| void | setIdx (int _idx) |
| int | getIdx (void) |
| void | setPe (int _pe) |
| int | getPe (void) |
| void | addOutPort (void) |
| void | addInPort (void) |
| void | connectOutPort (void) |
| void | connectInPort (void) |
| int | getNumPorts (void) |
| int | getNumConnectedPorts (void) |
Private Attributes | |
| char * | name |
| char * | type |
| int | idx |
| int | pe |
| int | nout |
| int | nin |
| int | ncout |
| int | ncin |
Definition at line 53 of file charisma.h.
| Component::Component | ( | const char * | n, | |
| const char * | t | |||
| ) | [inline] |
| Component::~Component | ( | ) | [inline] |
| char* Component::getName | ( | void | ) | [inline] |
| char* Component::getType | ( | void | ) | [inline] |
| void Component::setIdx | ( | int | _idx | ) | [inline] |
| int Component::getIdx | ( | void | ) | [inline] |
| void Component::setPe | ( | int | _pe | ) | [inline] |
| int Component::getPe | ( | void | ) | [inline] |
| void Component::addOutPort | ( | void | ) | [inline] |
Definition at line 84 of file charisma.h.
References nout.
Referenced by CharismaGraph::registerOutPort().
| void Component::addInPort | ( | void | ) | [inline] |
Definition at line 85 of file charisma.h.
References nin.
Referenced by CharismaGraph::registerInPort().
| void Component::connectOutPort | ( | void | ) | [inline] |
| void Component::connectInPort | ( | void | ) | [inline] |
| int Component::getNumPorts | ( | void | ) | [inline] |
| int Component::getNumConnectedPorts | ( | void | ) | [inline] |
char* Component::name [private] |
char* Component::type [private] |
int Component::idx [private] |
int Component::pe [private] |
int Component::nout [private] |
Definition at line 60 of file charisma.h.
Referenced by addOutPort(), Component(), and getNumPorts().
int Component::nin [private] |
Definition at line 61 of file charisma.h.
Referenced by addInPort(), Component(), and getNumPorts().
int Component::ncout [private] |
Definition at line 62 of file charisma.h.
Referenced by Component(), connectOutPort(), and getNumConnectedPorts().
int Component::ncin [private] |
Definition at line 63 of file charisma.h.
Referenced by Component(), connectInPort(), and getNumConnectedPorts().
1.5.5