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

simth::DataInterface Class Reference

Abstract base class of input and output interfaces. More...

#include <interfaces.h>

Inheritance diagram for simth::DataInterface:

simth::InputInterface simth::OutputInterface simth::InputInterfaceT< T > simth::OutputInterfaceT< T > List of all members.

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

Detailed Description

Abstract base class of input and output interfaces.

The classes InputInterface and OutputInterface that are derived from this abstract base class are used to exchange data between devices.


Constructor & Destructor Documentation

simth::DataInterface::DataInterface Device *const   device,
int  ID
[inline]
 

Class constructor.

Parameters:
device pointer to the parent device
ID index of the interface, given by the parent device

virtual simth::DataInterface::~DataInterface  )  [inline, virtual]
 


Member Function Documentation

int simth::DataInterface::ID  )  const [inline, protected]
 

Returns the index of the interface. (Note, the index starts by zero!)

Device* const simth::DataInterface::device  )  const [inline, protected]
 

Returns a pointer pointed to the parent device of this interface.


Member Data Documentation

const size_t simth::DataInterface::undefinedLength [static]
 

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!


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1