IRremote
IRCommandDispatcher.h File Reference
#include <stdint.h>
Include dependency graph for IRCommandDispatcher.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IRToCommandMappingStruct
 
struct  IRDataForCommandDispatcherStruct
 
class  IRCommandDispatcher
 

Macros

#define COMMAND_STRING(anyString)
 
#define IR_COMMAND_FLAG_BLOCKING   0x00
 
#define IR_COMMAND_FLAG_REPEATABLE   0x01
 
#define IR_COMMAND_FLAG_NON_BLOCKING   0x02
 
#define IR_COMMAND_FLAG_REPEATABLE_NON_BLOCKING   (IR_COMMAND_FLAG_REPEATABLE | IR_COMMAND_FLAG_NON_BLOCKING)
 
#define IR_COMMAND_FLAG_BEEP   0x04
 
#define IR_COMMAND_FLAG_BLOCKING_BEEP   (IR_COMMAND_FLAG_BLOCKING | IR_COMMAND_FLAG_BEEP)
 
#define IS_STOP_REQUESTED   IRDispatcher.requestToStopReceived
 
#define RETURN_IF_STOP   if (IRDispatcher.requestToStopReceived) return
 
#define BREAK_IF_STOP   if (IRDispatcher.requestToStopReceived) break
 
#define DELAY_AND_RETURN_IF_STOP(aDurationMillis)   if (IRDispatcher.delayAndCheckForStop(aDurationMillis)) return
 
#define COMMAND_EMPTY   __UINT_FAST8_MAX__
 

Typedefs

typedef uint_fast8_t IRCommandType
 

Variables

IRCommandDispatcher IRDispatcher
 

Macro Definition Documentation

◆ BREAK_IF_STOP

#define BREAK_IF_STOP   if (IRDispatcher.requestToStopReceived) break

Definition at line 59 of file IRCommandDispatcher.h.

◆ COMMAND_EMPTY

#define COMMAND_EMPTY   __UINT_FAST8_MAX__

Definition at line 73 of file IRCommandDispatcher.h.

◆ COMMAND_STRING

#define COMMAND_STRING (   anyString)

Definition at line 40 of file IRCommandDispatcher.h.

◆ DELAY_AND_RETURN_IF_STOP

#define DELAY_AND_RETURN_IF_STOP (   aDurationMillis)    if (IRDispatcher.delayAndCheckForStop(aDurationMillis)) return

Definition at line 62 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_BEEP

#define IR_COMMAND_FLAG_BEEP   0x04

Definition at line 49 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_BLOCKING

#define IR_COMMAND_FLAG_BLOCKING   0x00

Definition at line 45 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_BLOCKING_BEEP

#define IR_COMMAND_FLAG_BLOCKING_BEEP   (IR_COMMAND_FLAG_BLOCKING | IR_COMMAND_FLAG_BEEP)

Definition at line 50 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_NON_BLOCKING

#define IR_COMMAND_FLAG_NON_BLOCKING   0x02

Definition at line 47 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_REPEATABLE

#define IR_COMMAND_FLAG_REPEATABLE   0x01

Definition at line 46 of file IRCommandDispatcher.h.

◆ IR_COMMAND_FLAG_REPEATABLE_NON_BLOCKING

#define IR_COMMAND_FLAG_REPEATABLE_NON_BLOCKING   (IR_COMMAND_FLAG_REPEATABLE | IR_COMMAND_FLAG_NON_BLOCKING)

Definition at line 48 of file IRCommandDispatcher.h.

◆ IS_STOP_REQUESTED

#define IS_STOP_REQUESTED   IRDispatcher.requestToStopReceived

Definition at line 53 of file IRCommandDispatcher.h.

◆ RETURN_IF_STOP

#define RETURN_IF_STOP   if (IRDispatcher.requestToStopReceived) return

Definition at line 56 of file IRCommandDispatcher.h.

Typedef Documentation

◆ IRCommandType

typedef uint_fast8_t IRCommandType

Definition at line 71 of file IRCommandDispatcher.h.

Variable Documentation

◆ IRDispatcher

IRCommandDispatcher IRDispatcher

Definition at line 58 of file IRCommandDispatcher.hpp.