ESPHome  2024.6.1
Public Types | Public Member Functions
esphome::remote_base::RemoteProtocol< T > Class Template Referenceabstract

#include <remote_base.h>

Public Types

using ProtocolData = T
 

Public Member Functions

virtual void encode (RemoteTransmitData *dst, const ProtocolData &data)=0
 
virtual optional< ProtocolDatadecode (RemoteReceiveData src)=0
 
virtual void dump (const ProtocolData &data)=0
 

Detailed Description

template<typename T>
class esphome::remote_base::RemoteProtocol< T >

Definition at line 225 of file remote_base.h.

Member Typedef Documentation

◆ ProtocolData

template<typename T>
using esphome::remote_base::RemoteProtocol< T >::ProtocolData = T

Definition at line 227 of file remote_base.h.

Member Function Documentation

◆ decode()

template<typename T>
virtual optional<ProtocolData> esphome::remote_base::RemoteProtocol< T >::decode ( RemoteReceiveData  src)
pure virtual

◆ dump()

template<typename T>
virtual void esphome::remote_base::RemoteProtocol< T >::dump ( const ProtocolData data)
pure virtual

◆ encode()

template<typename T>
virtual void esphome::remote_base::RemoteProtocol< T >::encode ( RemoteTransmitData dst,
const ProtocolData data 
)
pure virtual

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