libkipr  1.0.0
kipr::button::AbstractTextButton Class Referenceabstract

#include <button.hpp>

Inheritance diagram for kipr::button::AbstractTextButton:
Collaboration diagram for kipr::button::AbstractTextButton:

Public Member Functions

virtual ~AbstractTextButton ()
 
virtual void setText (const char *text)=0
 
virtual const char * text () const =0
 
virtual bool isTextDirty () const =0
 
virtual void resetText ()=0
 
- Public Member Functions inherited from kipr::button::AbstractButton
virtual ~AbstractButton ()
 
virtual void setPressed (bool pressed)=0
 
bool isPressed () const
 
bool isNotPressed () const
 
bool isClicked () const
 
virtual void waitUntilReleased () const
 
virtual void waitUntilPressed () const
 
virtual void waitUntilClicked () const
 
- Public Member Functions inherited from kipr::sensor::Sensor< bool >
virtual ~Sensor ()
 
virtual bool value () const=0
 

Constructor & Destructor Documentation

◆ ~AbstractTextButton()

virtual kipr::button::AbstractTextButton::~AbstractTextButton ( )
virtual

Member Function Documentation

◆ isTextDirty()

virtual bool kipr::button::AbstractTextButton::isTextDirty ( ) const
pure virtual

Implemented in kipr::button::IdButton.

◆ resetText()

virtual void kipr::button::AbstractTextButton::resetText ( )
pure virtual

Implemented in kipr::button::IdButton.

◆ setText()

virtual void kipr::button::AbstractTextButton::setText ( const char *  text)
pure virtual

Implemented in kipr::button::IdButton.

◆ text()

virtual const char* kipr::button::AbstractTextButton::text ( ) const
pure virtual

Implemented in kipr::button::IdButton.


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