ESPHome  2024.7.2
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
esphome::remote_base::RemoteTransmitterBase Class Referenceabstract

#include <remote_base.h>

Inheritance diagram for esphome::remote_base::RemoteTransmitterBase:
esphome::remote_base::RemoteComponentBase esphome::remote_transmitter::RemoteTransmitterComponent

Data Structures

class  TransmitCall

Public Member Functions

 RemoteTransmitterBase (InternalGPIOPin *pin)
TransmitCall transmit ()
template<typename Protocol >
void transmit (const typename Protocol::ProtocolData &data, uint32_t send_times=1, uint32_t send_wait=0)
- Public Member Functions inherited from esphome::remote_base::RemoteComponentBase
 RemoteComponentBase (InternalGPIOPin *pin)

Protected Member Functions

void send_ (uint32_t send_times, uint32_t send_wait)
virtual void send_internal (uint32_t send_times, uint32_t send_wait)=0
void send_single_ ()

Protected Attributes

RemoteTransmitData temp_
 Use same vector for all transmits, avoids many allocations. More...
- Protected Attributes inherited from esphome::remote_base::RemoteComponentBase

Detailed Description

Definition at line 137 of file remote_base.h.

Constructor & Destructor Documentation

◆ RemoteTransmitterBase()

esphome::remote_base::RemoteTransmitterBase::RemoteTransmitterBase ( InternalGPIOPin pin)

Definition at line 139 of file remote_base.h.

Member Function Documentation

◆ send_()

void esphome::remote_base::RemoteTransmitterBase::send_ ( uint32_t  send_times,
uint32_t  send_wait 

Definition at line 128 of file remote_base.cpp.

◆ send_internal()

virtual void esphome::remote_base::RemoteTransmitterBase::send_internal ( uint32_t  send_times,
uint32_t  send_wait 
protectedpure virtual

◆ send_single_()

void esphome::remote_base::RemoteTransmitterBase::send_single_ ( )

Definition at line 170 of file remote_base.h.

◆ transmit() [1/2]

TransmitCall esphome::remote_base::RemoteTransmitterBase::transmit ( )

Definition at line 154 of file remote_base.h.

◆ transmit() [2/2]

template<typename Protocol >
void esphome::remote_base::RemoteTransmitterBase::transmit ( const typename Protocol::ProtocolData &  data,
uint32_t  send_times = 1,
uint32_t  send_wait = 0 

Definition at line 159 of file remote_base.h.

Field Documentation

◆ temp_

RemoteTransmitData esphome::remote_base::RemoteTransmitterBase::temp_

Use same vector for all transmits, avoids many allocations.

Definition at line 173 of file remote_base.h.

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