Abstract base class for all decoder classes.
More...
#include <IrDecoder.h>
|
| static boolean | isEnding (microseconds_t duration) |
| | Tests if the argument is large enough to be considered an ending of a decodable signal. More...
|
| |
Abstract base class for all decoder classes.
Definition at line 9 of file IrDecoder.h.
| virtual IrDecoder::~IrDecoder |
( |
| ) |
|
|
inlinevirtual |
| virtual const char* IrDecoder::getDecode |
( |
| ) |
const |
|
pure virtual |
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 57 of file IrDecoder.h.
| virtual boolean IrDecoder::isValid |
( |
| ) |
const |
|
inlinevirtual |
Returns true if the decode was successful.
- Returns
- validity
Definition at line 27 of file IrDecoder.h.
| boolean 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 36 of file IrDecoder.h.
| void IrDecoder::setValid |
( |
bool |
valid_ | ) |
|
|
inlineprotected |
| const int IrDecoder::invalid = -1 |
|
staticprotected |
The documentation for this class was generated from the following file: