A decoder class for NEC1 signals.
More...
#include <Nec1Decoder.h>
A decoder class for NEC1 signals.
Definition at line 9 of file Nec1Decoder.h.
◆ Nec1Decoder() [1/2]
Nec1Decoder::Nec1Decoder |
( |
| ) |
|
◆ Nec1Decoder() [2/2]
Nec1Decoder::Nec1Decoder |
( |
const IrReader & |
irReader | ) |
|
◆ ~Nec1Decoder()
virtual Nec1Decoder::~Nec1Decoder |
( |
| ) |
|
|
inlinevirtual |
◆ getD()
int Nec1Decoder::getD |
( |
| ) |
const |
|
inline |
Returns the D parameter, or -1 if invalid.
- Returns
- int
Definition at line 53 of file Nec1Decoder.h.
◆ getDecode()
const char * Nec1Decoder::getDecode |
( |
| ) |
const |
|
inlinevirtual |
Returns a textual description the decode for human consumption.
- Returns
- decode as text.
Implements IrDecoder.
Definition at line 81 of file Nec1Decoder.h.
◆ getF()
int Nec1Decoder::getF |
( |
| ) |
const |
|
inline |
Returns the F parameter, or -1 if invalid.
- Returns
- int
Definition at line 45 of file Nec1Decoder.h.
◆ getS()
int Nec1Decoder::getS |
( |
| ) |
const |
|
inline |
Returns the S parameter, or -1 if invalid.
- Returns
- int
Definition at line 61 of file Nec1Decoder.h.
◆ isDitto()
bool Nec1Decoder::isDitto |
( |
| ) |
const |
|
inline |
Returns true if the signal received is a NEC1 ditto, i,e.
a repeat sequence.
- Returns
- true if repeat sequence
Definition at line 69 of file Nec1Decoder.h.
◆ tryDecode()
bool Nec1Decoder::tryDecode |
( |
const IrReader & |
irReader, |
|
|
Stream & |
stream |
|
) |
| |
|
static |
Convenience function; constructs an Nec1Decoder and calls its printDecode.
- Parameters
-
- Returns
- success of operation
Definition at line 18 of file Nec1Decoder.cpp.
The documentation for this class was generated from the following files: