class UITerminal


Definition#include <data-flow/include/UITerminal.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

string name

[protected]

The terminal name

string type

[protected]

The terminal type

string description

[protected]

The description of the terminal

UINode * node

[protected]

The node that owns this terminal

double x

[protected]

position relative to node group

double y

[protected]

position relative to node group

bool isInput

[protected]

Whether it's an input of the node (otherwise, output)

vector <UILink *> connections

[protected]

All connected links (only one allowed for inputs)

UINetTerminal * netTerminal

[protected]

The net input/output connected to the terminal (NULL if none)

 UITerminal (ItemInfo *terminalInfo, UINode *_node, bool _isInput, double _x, double _y)

UITerminal ()

[virtual]

UINodegetNode ()

[const]

void  getPos (double &wx, double &wy)

[const virtual]

returns the position in world coord

void  getItemPos (double &wx, double &wy)

[const]

returns the position in item coord

void  connect (UILink *link)

connect to a link

void  disconnect (UILink *link)

disconnect from a link

void  connectNetTerminal (UINetTerminal *term)

connect to a network terminal

void  disconnectNetTerminal ()

connect to a network terminal

const string & getName ()

[const]

const string & getType ()

[const]

const string & getDescription ()

[const]

bool  isInputTerminal ()

[const]

bool  isConnected ()

[const]

vector<UILink *>  getConnections ()

[const]

UINetTerminal*  getNetTerminal ()


Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.