
#include <charisma.h>

Public Member Functions | |
| CharismaGraph (void) | |
| void | start (const char *name, const char *type) |
| void | end (const char *name) |
| void | registerOutPort (const char *name, const char *type) |
| void | registerInPort (const char *name, const char *type) |
| void | connect (const char *name1, const char *name2) |
| void | Partition (void) |
Private Attributes | |
| CkHashtableTslow< const char *, Port * > | ports |
| CkHashtableTslow< const char *, Component * > | comps |
| Name * | curname |
Definition at line 134 of file charisma.h.
| CharismaGraph::CharismaGraph | ( | void | ) | [inline] |
| void CharismaGraph::start | ( | const char * | name, | |
| const char * | type | |||
| ) | [inline] |
Definition at line 147 of file charisma.h.
References Name::add(), comps, curname, and CkHashtableTslow< KEY, OBJ >::put().
| void CharismaGraph::end | ( | const char * | name | ) | [inline] |
| void CharismaGraph::registerOutPort | ( | const char * | name, | |
| const char * | type | |||
| ) | [inline] |
Definition at line 161 of file charisma.h.
References Component::addOutPort(), comps, curname, CkHashtableTslow< KEY, OBJ >::get(), ports, and CkHashtableTslow< KEY, OBJ >::put().
| void CharismaGraph::registerInPort | ( | const char * | name, | |
| const char * | type | |||
| ) | [inline] |
Definition at line 172 of file charisma.h.
References Component::addInPort(), comps, curname, CkHashtableTslow< KEY, OBJ >::get(), ports, and CkHashtableTslow< KEY, OBJ >::put().
| void CharismaGraph::connect | ( | const char * | name1, | |
| const char * | name2 | |||
| ) | [inline] |
Definition at line 183 of file charisma.h.
References Name::add(), Component::connectInPort(), Component::connectOutPort(), curname, CkHashtableTslow< KEY, OBJ >::get(), Port::getComp(), Port::getType(), ports, and Port::setPeer().
| void CharismaGraph::Partition | ( | void | ) | [inline] |
Definition at line 204 of file charisma.h.
References c, Converse::CkNumPes(), comps, Port::getComp(), Component::getIdx(), Component::getNumConnectedPorts(), Port::getPeer(), CkHashtableIterator::hasNext(), CkHashtable::iterator(), METIS_PartGraphRecursive(), n, CkHashtableIterator::next(), p, ports, CkHashtableIterator::seekStart(), Component::setIdx(), and Component::setPe().
CkHashtableTslow<const char *, Port *> CharismaGraph::ports [private] |
Definition at line 137 of file charisma.h.
Referenced by connect(), Partition(), registerInPort(), and registerOutPort().
CkHashtableTslow<const char *, Component *> CharismaGraph::comps [private] |
Definition at line 138 of file charisma.h.
Referenced by Partition(), registerInPort(), registerOutPort(), and start().
Name* CharismaGraph::curname [private] |
Definition at line 139 of file charisma.h.
Referenced by CharismaGraph(), connect(), end(), registerInPort(), registerOutPort(), and start().
1.5.5