#include <ctypes.h>
Inheritance diagram for cLinkType::

Public Methods | |
Constructors, destructor, assignment | |
| cLinkType (const char *name, cPar *(*d)(), cPar *(*e)(), cPar *(*dr)()) | |
| cLinkType (const cLinkType &li) | |
| virtual | ~cLinkType () |
| cLinkType& | operator= (const cLinkType &o) |
Redefined cObject member functions. | |
| virtual cObject* | dup () const |
Channel properties. | |
| cPar* | createDelay () const |
| cPar* | createError () const |
| cPar* | createDataRate () const |
Objects of this class are usually created via the Define_Channel() macro.
|
|
Constructor. It takes three function pointers; the corresponding functions should be 'factory' functions that create the delay, bit error rate and data rate objects (cPars) for this channel type. |
|
|
Copy constructor. |
|
|
Destructor. |
|
|
Creates a cPar object, representing the data rate of this channel. Returns NULL if the channel has no associated data rate. |
|
|
Creates a cPar object, representing the delay of this channel. Returns NULL if the channel has no associated delay. |
|
|
Creates a cPar object, representing the bit error rate of this channel. Returns NULL if the channel has no associated bit error rate. |
|
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cObject. |
|
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001