//---------------------------------------------------------------------------

#ifndef ConnectionH
#define ConnectionH
   
class Node;

class Connection {
  friend class Network;
  protected:
	string name;			// name of the connection
	Node* source;			// source node
	unsigned int src_out;	// source node output
	list<pair<Node*, unsigned int> > dest;		// list of destination nodes with inputs

  public:
    Connection();

	~Connection();

};


//---------------------------------------------------------------------------
#endif
