#include <ctypes.h>
Inheritance diagram for cChannelType:
One is expected to redefine the create() method to construct and return a channel object (cChannel subclass) of the appropriate type and attributes set. The class has to be registered via the Define_Channel() macro.
Public Member Functions | |
Constructors, destructor, assignment | |
cChannelType (const char *name=NULL) | |
virtual | ~cChannelType () |
cChannelType & | operator= (const cChannelType &) |
Channel object creation | |
virtual cChannel * | create (const char *name)=0 |
|
Constructor.
|
|
Destructor.
|
|
Factory method to create a channel object.
Implemented in cLinkType. |
|
Assignment is not supported by this class: this method throws a cRuntimeError when called.
|