#include <interfaces.h>
Inheritance diagram for simth::OutputInterfaceT< T >:
Public Member Functions | |
OutputInterfaceT (Device *const dev, int ID) | |
virtual size_t | sequenceCapacity () const |
virtual size_t | sequenceLength () const |
virtual void | setSequenceCapacity (size_t size) |
virtual void | setSequenceLength (size_t size) |
T *const | internSequence () |
virtual void | connect (InputInterface *interfacePtr) |
virtual void | reset () |
virtual bool | isConnected () const |
virtual void | flushProcessedSequences () |
virtual void | processFinished () |
Protected Member Functions | |
bool | isMultipleConnected () const |
This generic class implements an output interface with the given template a data type. Classes that can be used as template argument are declared in signals.h. However, one can define own signals (or data) classes that can be used as template arguments. Of course these classes must define functions and operators used by the interface classes.
|
|
|
Returns true if the device is connected with more than one other device. |
|
Returns the capacity of the output sequence. See class documentation for more details. Implements simth::OutputInterface. |
|
Returns the length of the output sequence. Implements simth::OutputInterface. |
|
Sets the capacity of the output sequence. See class documentation for more details. Implements simth::OutputInterface. |
|
Sets the length of the output sequence. Implements simth::OutputInterface. |
|
|
|
Implements simth::OutputInterface. |
|
Resets the interface. After calling that function the interface should behave as before any data had arrived. Implements simth::OutputInterface. |
|
Returns true if the input interface is connected with another device Implements simth::OutputInterface. |
|
Informs the connected input interface, that the prompted output sequence is filled and can be used by the connected input interface. Implements simth::OutputInterface. |
|
Is called when the process finished. For now it only checks some internal states of the output interface. Implements simth::OutputInterface. |