libkipr  1.0.0
kipr::button::IdButton Class Reference

#include <button.hpp>

Inheritance diagram for kipr::button::IdButton:
Collaboration diagram for kipr::button::IdButton:

Public Member Functions

 IdButton (const Id &id, const char *defaultText)
 
 ~IdButton ()
 
virtual void setText (const char *text)
 
virtual const char * text () const
 
virtual bool isTextDirty () const
 
virtual void setPressed (bool pressed)
 
virtual bool value () const
 
virtual void resetText ()
 
- Public Member Functions inherited from kipr::button::AbstractTextButton
virtual ~AbstractTextButton ()
 
- Public Member Functions inherited from kipr::button::AbstractButton
virtual ~AbstractButton ()
 
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 ()
 

Constructor & Destructor Documentation

◆ IdButton()

kipr::button::IdButton::IdButton ( const Id id,
const char *  defaultText 
)

◆ ~IdButton()

kipr::button::IdButton::~IdButton ( )

Member Function Documentation

◆ isTextDirty()

virtual bool kipr::button::IdButton::isTextDirty ( ) const
virtual

◆ resetText()

virtual void kipr::button::IdButton::resetText ( )
virtual

◆ setPressed()

virtual void kipr::button::IdButton::setPressed ( bool  pressed)
virtual

◆ setText()

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

◆ text()

virtual const char* kipr::button::IdButton::text ( ) const
virtual

◆ value()

virtual bool kipr::button::IdButton::value ( ) const
virtual

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