Abstract base class for all decoder classes.
More...
#include <IrDecoder.h>
Abstract base class for all decoder classes.
Definition at line 8 of file IrDecoder.h.
◆ IrDecoder()
◆ ~IrDecoder()
virtual IrDecoder::~IrDecoder |
( |
| ) |
|
|
inlinevirtual |
◆ getDecode()
virtual const char * IrDecoder::getDecode |
( |
| ) |
const |
|
pure virtual |
◆ isEnding()
Tests if the argument is large enough to be considered an ending of a decodable signal.
- Parameters
-
duration | time to be tested |
- Returns
- true if the duration is long enough
Definition at line 69 of file IrDecoder.h.
◆ isValid()
virtual bool IrDecoder::isValid |
( |
| ) |
const |
|
inlinevirtual |
Returns true if the decode was successful.
- Returns
- validity
Definition at line 31 of file IrDecoder.h.
◆ operator bool()
IrDecoder::operator bool |
( |
| ) |
const |
|
inline |
◆ printDecode()
bool IrDecoder::printDecode |
( |
Stream & |
stream | ) |
const |
|
inline |
If valid, prints the decode to the stream.
- Parameters
-
stream | where the output is generated |
- Returns
- success status
Definition at line 48 of file IrDecoder.h.
◆ setValid()
void IrDecoder::setValid |
( |
bool |
valid_ | ) |
|
|
inlineprotected |
◆ invalid
constexpr int IrDecoder::invalid = -1 |
|
staticconstexprprotected |
The documentation for this class was generated from the following file: