IRremote
IRCommandDispatcher Class Reference

#include <IRCommandDispatcher.h>

Collaboration diagram for IRCommandDispatcher:

Public Member Functions

void init ()
 
void printIRInfo (Print *aSerial)
 
bool checkAndRunNonBlockingCommands ()
 
bool checkAndRunSuspendedBlockingCommands ()
 
void setNextBlockingCommand (IRCommandType aBlockingCommandToRunNext)
 
bool delayAndCheckForStop (uint16_t aDelayMillis)
 
void checkAndCallCommand (bool aCallBlockingCommandImmediately)
 
void printIRCommandString (Print *aSerial, IRCommandType aCommand)
 
void printIRCommandStringForArrayIndex (Print *aSerial, uint_fast8_t aMappingArrayIndex)
 
void setRequestToStopReceived (bool aRequestToStopReceived=true)
 

Public Attributes

IRCommandType currentBlockingCommandCalled = COMMAND_EMPTY
 
IRCommandType lastBlockingCommandCalled = COMMAND_EMPTY
 
IRCommandType BlockingCommandToRunNext = COMMAND_EMPTY
 
bool justCalledBlockingCommand = false
 
volatile bool requestToStopReceived
 
bool doNotUseDispatcher = false
 
struct IRDataForCommandDispatcherStruct IRReceivedData
 

Detailed Description

Definition at line 93 of file IRCommandDispatcher.h.

Member Function Documentation

◆ checkAndCallCommand()

void IRCommandDispatcher::checkAndCallCommand ( bool  aCallBlockingCommandImmediately)

Definition at line 301 of file IRCommandDispatcher.hpp.

Here is the caller graph for this function:

◆ checkAndRunNonBlockingCommands()

bool IRCommandDispatcher::checkAndRunNonBlockingCommands ( )

◆ checkAndRunSuspendedBlockingCommands()

bool IRCommandDispatcher::checkAndRunSuspendedBlockingCommands ( )

Definition at line 427 of file IRCommandDispatcher.hpp.

Here is the call graph for this function:

◆ delayAndCheckForStop()

bool IRCommandDispatcher::delayAndCheckForStop ( uint16_t  aDelayMillis)

Definition at line 469 of file IRCommandDispatcher.hpp.

◆ init()

void IRCommandDispatcher::init ( )

Definition at line 76 of file IRCommandDispatcher.hpp.

Here is the call graph for this function:

◆ printIRCommandString()

void IRCommandDispatcher::printIRCommandString ( Print *  aSerial,
IRCommandType  aCommand 
)

Definition at line 497 of file IRCommandDispatcher.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printIRCommandStringForArrayIndex()

void IRCommandDispatcher::printIRCommandStringForArrayIndex ( Print *  aSerial,
uint_fast8_t  aMappingArrayIndex 
)

Definition at line 479 of file IRCommandDispatcher.hpp.

Here is the caller graph for this function:

◆ printIRInfo()

void IRCommandDispatcher::printIRInfo ( Print *  aSerial)

Definition at line 271 of file IRCommandDispatcher.hpp.

◆ setNextBlockingCommand()

void IRCommandDispatcher::setNextBlockingCommand ( IRCommandType  aBlockingCommandToRunNext)

Definition at line 449 of file IRCommandDispatcher.hpp.

Here is the call graph for this function:

◆ setRequestToStopReceived()

void IRCommandDispatcher::setRequestToStopReceived ( bool  aRequestToStopReceived = true)

Definition at line 507 of file IRCommandDispatcher.hpp.

Member Data Documentation

◆ BlockingCommandToRunNext

IRCommandType IRCommandDispatcher::BlockingCommandToRunNext = COMMAND_EMPTY

Definition at line 112 of file IRCommandDispatcher.h.

◆ currentBlockingCommandCalled

IRCommandType IRCommandDispatcher::currentBlockingCommandCalled = COMMAND_EMPTY

Definition at line 110 of file IRCommandDispatcher.h.

◆ doNotUseDispatcher

bool IRCommandDispatcher::doNotUseDispatcher = false

Definition at line 123 of file IRCommandDispatcher.h.

◆ IRReceivedData

struct IRDataForCommandDispatcherStruct IRCommandDispatcher::IRReceivedData

Definition at line 123 of file IRCommandDispatcher.h.

◆ justCalledBlockingCommand

bool IRCommandDispatcher::justCalledBlockingCommand = false

Definition at line 113 of file IRCommandDispatcher.h.

◆ lastBlockingCommandCalled

IRCommandType IRCommandDispatcher::lastBlockingCommandCalled = COMMAND_EMPTY

Definition at line 111 of file IRCommandDispatcher.h.

◆ requestToStopReceived

volatile bool IRCommandDispatcher::requestToStopReceived

Definition at line 119 of file IRCommandDispatcher.h.


The documentation for this class was generated from the following files: