PPL Logo

Port Class Reference

#include <charisma.h>

Collaboration diagram for Port:

Collaboration graph
[legend]

Public Member Functions

 Port (const char *n, Component *c, const char *t, int io)
void setPeer (Port *p)
 ~Port ()
char * getName (void)
char * getType (void)
PortgetPeer (void)
ComponentgetComp (void)

Private Attributes

int inout
char * name
Componentcomp
char * type
Portpeer

Detailed Description

Definition at line 95 of file charisma.h.


Constructor & Destructor Documentation

Port::Port ( const char *  n,
Component c,
const char *  t,
int  io 
) [inline]

Definition at line 104 of file charisma.h.

References comp, inout, name, peer, and type.

Port::~Port (  )  [inline]

Definition at line 118 of file charisma.h.

References name, and type.


Member Function Documentation

void Port::setPeer ( Port p  )  [inline]

Definition at line 114 of file charisma.h.

References peer.

Referenced by CharismaGraph::connect().

char* Port::getName ( void   )  [inline]

Definition at line 123 of file charisma.h.

References name.

char* Port::getType ( void   )  [inline]

Definition at line 124 of file charisma.h.

References type.

Referenced by CharismaGraph::connect().

Port* Port::getPeer ( void   )  [inline]

Definition at line 125 of file charisma.h.

References peer.

Referenced by CharismaGraph::Partition().

Component* Port::getComp ( void   )  [inline]

Definition at line 126 of file charisma.h.

References comp.

Referenced by CharismaGraph::connect(), and CharismaGraph::Partition().


Field Documentation

int Port::inout [private]

Definition at line 98 of file charisma.h.

Referenced by Port().

char* Port::name [private]

Definition at line 99 of file charisma.h.

Referenced by getName(), Port(), and ~Port().

Component* Port::comp [private]

Definition at line 100 of file charisma.h.

Referenced by getComp(), and Port().

char* Port::type [private]

Definition at line 101 of file charisma.h.

Referenced by getType(), Port(), and ~Port().

Port* Port::peer [private]

Definition at line 102 of file charisma.h.

Referenced by getPeer(), Port(), and setPeer().


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

Generated on Fri May 25 08:04:48 2012 for Charm++ by  doxygen 1.5.5