#include <interfaces.h>
Inheritance diagram for simth::DataInterface:
Public Member Functions | |
DataInterface (Device *const device, int ID) | |
virtual | ~DataInterface () |
Static Public Attributes | |
static const size_t | undefinedLength |
Protected Member Functions | |
int | ID () const |
Device *const | device () const |
The classes InputInterface and OutputInterface that are derived from this abstract base class are used to exchange data between devices.
|
Class constructor.
|
|
|
|
Returns the index of the interface. (Note, the index starts by zero!) |
|
Returns a pointer pointed to the parent device of this interface. |
|
Used to define an undefined input and output length state, respecitvley. I.e. if the input (or output) length of an interface eqauls that value, the length is treated as undefined and not as that length! |