classPiiIoChannel
#include <PiiIoChannel.h>
An interface for input/output channels.
Inherits QObject
Inherited by PiiDefaultIoChannel
Description
Public Slots
|
virtual void
|
( )
= 0
Send a signal to an output channel. |
Signals
|
void
|
(
This signal is emitted just after when the channel has received a phycisal signal (transition/pulse) from the device. |
Public member functions
|
virtual void
|
(
Change output state. |
|
virtual void
|
( )
= 0
Check input change. |
|
virtual int
|
( )
= 0
Returns the current state of the channel. |
Function details
-
virtual void changeOutputState
(- bool active
[pure virtual]Change output state.
-
virtual void checkInputChange
()[pure virtual]Check input change.
-
virtual int currentState
()[pure virtual]Returns the current state of the channel.
1 = High, 0 = Low, -1 = Unknown.
-
void signalReceived
(- int channel
- double value
[signal]This signal is emitted just after when the channel has received a phycisal signal (transition/pulse) from the device.
-
virtual void sendSignal
()[pure virtual, slot]Send a signal to an output channel.
Add a note
Not a single note added yet. Be the first, add yours.