EX-Display
EX-Display
Loading...
Searching...
No Matches
ScreenRow Class Reference

#include <ScreenRow.h>

Collaboration diagram for ScreenRow:
[legend]

Public Member Functions

 ScreenRow (uint8_t screenRowId)
 Constructor for each ScreenRow instance.
 
uint8_t getId ()
 Get the ID of this ScreenRow.
 
void setNext (ScreenRow *screenRow)
 Set the next ScreenRow instance in the list.
 
ScreenRowgetNext ()
 Get the next ScreenRow instance in the list.
 
void setText (const char *text)
 Set the text associated with this ScreenRow.
 
const char * getText ()
 Get the text associated with this ScreenRow.
 
void setLogger (Logger *logger)
 Set the Logger instance.
 
bool needsRedraw ()
 Test if this row needs to be redrawn.
 
 ~ScreenRow ()
 Destructor for each ScreenRow instance.
 

Private Attributes

uint8_t _screenRowId
 
char * _text
 
ScreenRow_next
 
Logger_logger
 
bool _needsRedraw
 

Constructor & Destructor Documentation

◆ ScreenRow()

ScreenRow::ScreenRow ( uint8_t  screenRowId)

Constructor for each ScreenRow instance.

Parameters
screenRowIdID of this ScreenRow

◆ ~ScreenRow()

ScreenRow::~ScreenRow ( )

Destructor for each ScreenRow instance.

Member Function Documentation

◆ getId()

uint8_t ScreenRow::getId ( )

Get the ID of this ScreenRow.

Returns
ID of this ScreenRow
Here is the caller graph for this function:

◆ getNext()

ScreenRow * ScreenRow::getNext ( )

Get the next ScreenRow instance in the list.

Returns
Pointer to the next ScreenRow instance
Here is the caller graph for this function:

◆ getText()

const char * ScreenRow::getText ( )

Get the text associated with this ScreenRow.

Returns
Text for this ScreenRow
Here is the caller graph for this function:

◆ needsRedraw()

bool ScreenRow::needsRedraw ( )

Test if this row needs to be redrawn.

Returns
true|false
Here is the caller graph for this function:

◆ setLogger()

void ScreenRow::setLogger ( Logger logger)

Set the Logger instance.

Parameters
loggerPointer to the Logger
Here is the caller graph for this function:

◆ setNext()

void ScreenRow::setNext ( ScreenRow screenRow)

Set the next ScreenRow instance in the list.

Parameters
screenRowPointer to the next ScreenRow instance
Here is the caller graph for this function:

◆ setText()

void ScreenRow::setText ( const char *  text)

Set the text associated with this ScreenRow.

Parameters
textText for this ScreenRow
Here is the caller graph for this function:

Member Data Documentation

◆ _logger

Logger* ScreenRow::_logger
private

◆ _needsRedraw

bool ScreenRow::_needsRedraw
private

◆ _next

ScreenRow* ScreenRow::_next
private

◆ _screenRowId

uint8_t ScreenRow::_screenRowId
private

◆ _text

char* ScreenRow::_text
private

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