ESPHome  2024.11.1
Public Member Functions | Protected Attributes
esphome::display::DisplayPage Class Reference

#include <display.h>

Public Member Functions

 DisplayPage (display_writer_t writer)
 
void show ()
 
void show_next ()
 
void show_prev ()
 
void set_parent (Display *parent)
 
void set_prev (DisplayPage *prev)
 
void set_next (DisplayPage *next)
 
const display_writer_tget_writer () const
 

Protected Attributes

Displayparent_
 
display_writer_t writer_
 
DisplayPageprev_ {nullptr}
 
DisplayPagenext_ {nullptr}
 

Detailed Description

Definition at line 676 of file display.h.

Constructor & Destructor Documentation

◆ DisplayPage()

esphome::display::DisplayPage::DisplayPage ( display_writer_t  writer)

Definition at line 811 of file display.cpp.

Member Function Documentation

◆ get_writer()

const display_writer_t & esphome::display::DisplayPage::get_writer ( ) const

Definition at line 818 of file display.cpp.

◆ set_next()

void esphome::display::DisplayPage::set_next ( DisplayPage next)

Definition at line 817 of file display.cpp.

◆ set_parent()

void esphome::display::DisplayPage::set_parent ( Display parent)

Definition at line 815 of file display.cpp.

◆ set_prev()

void esphome::display::DisplayPage::set_prev ( DisplayPage prev)

Definition at line 816 of file display.cpp.

◆ show()

void esphome::display::DisplayPage::show ( )

Definition at line 812 of file display.cpp.

◆ show_next()

void esphome::display::DisplayPage::show_next ( )

Definition at line 813 of file display.cpp.

◆ show_prev()

void esphome::display::DisplayPage::show_prev ( )

Definition at line 814 of file display.cpp.

Field Documentation

◆ next_

DisplayPage* esphome::display::DisplayPage::next_ {nullptr}
protected

Definition at line 691 of file display.h.

◆ parent_

Display* esphome::display::DisplayPage::parent_
protected

Definition at line 688 of file display.h.

◆ prev_

DisplayPage* esphome::display::DisplayPage::prev_ {nullptr}
protected

Definition at line 690 of file display.h.

◆ writer_

display_writer_t esphome::display::DisplayPage::writer_
protected

Definition at line 689 of file display.h.


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