CheeseBoard
A library for use with the CheeseBoard Cheddar platform
Public Member Functions | Protected Attributes | List of all members
GfxNetInfo Class Reference

#include <GfxNetInfo.h>

Inheritance diagram for GfxNetInfo:
Inheritance graph

Public Member Functions

 GfxNetInfo (String newSsid, int8_t newChannel, uint8_t newSignal)
 
 GfxNetInfo (const GfxNetInfo &other)
 
GfxNetInfooperator= (const GfxNetInfo &other)
 
bool operator== (const GfxNetInfo &other)
 
void draw (uint16_t xOffset=0, uint16_t yOffset=0)
 
uint16_t width ()
 
uint16_t height ()
 
String ssid ()
 get the ssid
 
int8_t channel ()
 get the channel
 
uint8_t signal ()
 get the last signal strength
 
uint32_t lastSeenMs ()
 get last seen ms
 
String lastSeen ()
 get last seen in human readable form
 
void update (int8_t newChannel, uint8_t newSignal)
 Updates the ephemeral details for this ssid.
 

Protected Attributes

String _ssid
 
int8_t _channel
 
uint8_t _signal
 
uint32_t _lastSeenMs
 

Detailed Description

A GfxItem for showing a WiFi network (SSID & signal).

Definition at line 9 of file GfxNetInfo.h.

Member Function Documentation

◆ draw()

void GfxNetInfo::draw ( uint16_t  xOffset = 0,
uint16_t  yOffset = 0 
)
virtual

Draw the object on the display (don't send buffer).

Implements GfxItem.

Definition at line 38 of file GfxNetInfo.cpp.

Here is the call graph for this function:

◆ height()

uint16_t GfxNetInfo::height ( )
virtual

Get object height.

Returns
Object height in pixels.

Implements GfxItem.

Definition at line 51 of file GfxNetInfo.cpp.

◆ width()

uint16_t GfxNetInfo::width ( )
virtual

Get object width.

Returns
Object width in pixels.

Implements GfxItem.

Definition at line 56 of file GfxNetInfo.cpp.


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