#include <ctypes.h>
Inheritance diagram for cLinkType:
A channel type for backward compatibility. Objects of this class are created via the Define_Link() macro.
Public Member Functions | |
Constructors, destructor, assignment | |
cLinkType (const char *name, cPar *(*d)(), cPar *(*e)(), cPar *(*dr)()) | |
cLinkType (const cLinkType &li) | |
virtual | ~cLinkType () |
cLinkType & | operator= (const cLinkType &) |
Redefined cObject member functions. | |
virtual cPolymorphic * | dup () const |
Channel object creation | |
virtual cChannel * | create (const char *name) |
|
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 channel object.
Implements cChannelType. |
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cObject. |
|
Assignment is not supported by this class: this method throws a cRuntimeError when called.
|