Into

Modules

Documentation

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
(
  • int channel
  • double value
)

This signal is emitted just after when the channel has received a phycisal signal (transition/pulse) from the device.

Public member functions

virtual void
(
  • bool active
)  = 0

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.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.