Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

NicEntryDirect Class Reference
[channelControl - channel and connection related classes]

NicEntry is used by ChannelControl to store the necessary information for each nic. More...

#include <NicEntryDirect.h>

Inherits NicEntry.

Inheritance diagram for NicEntryDirect:

Inheritance graph
[legend]
Collaboration diagram for NicEntryDirect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NicEntryDirect (bool debug)
 Constrcutor, initializes all members.
virtual ~NicEntryDirect ()
 Destructor -- needs to be there...
virtual void connectTo (NicEntry *)
 Connect two nics.
virtual void disconnectFrom (NicEntry *)
 Disconnect two nics.

Detailed Description

NicEntry is used by ChannelControl to store the necessary information for each nic.

Author:
Daniel Willkomm
See also:
ChannelControl, NicEntry


Constructor & Destructor Documentation

NicEntryDirect::NicEntryDirect bool  debug  )  [inline]
 

Constrcutor, initializes all members.

Todo:
initialize position!


Member Function Documentation

void NicEntryDirect::connectTo NicEntry other  )  [virtual]
 

Connect two nics.

Establish unidirectional connection with other nic

Parameters:
other reference to remote nic (other NicEntry)
This function acquires an in gate at the remote nic and an out gate at this nic, connects the two and updates the freeInGate, freeOutGate and outConns data sets.

It handles compound modules correctly, provided that the physical module is called "phy" or "snrEval" respectively in the .ned files.

Implements NicEntry.

void NicEntryDirect::disconnectFrom NicEntry other  )  [virtual]
 

Disconnect two nics.

Release unidirectional connection with other nic

Parameters:
other reference to remote nic (other NicEntry)

Implements NicEntry.


The documentation for this class was generated from the following files:
Generated on Fri Jan 12 08:30:10 2007 for Mobility Framework by  doxygen 1.4.4