Public Member Functions | List of all members
ControlButton::Listener Struct Referenceabstract

A listener that can be attached to a ControlButton object so that it gets called when the button is pushed or released. More...

Public Member Functions

virtual ~Listener ()
 
virtual void buttonPressed (ControlButton &, Block::Timestamp)=0
 Called when the button is pressed. More...
 
virtual void buttonReleased (ControlButton &, Block::Timestamp)=0
 Called when the button is released. More...
 

Detailed Description

A listener that can be attached to a ControlButton object so that it gets called when the button is pushed or released.

Constructor & Destructor Documentation

◆ ~Listener()

virtual ControlButton::Listener::~Listener ( )
virtual

Member Function Documentation

◆ buttonPressed()

virtual void ControlButton::Listener::buttonPressed ( ControlButton ,
Block::Timestamp   
)
pure virtual

Called when the button is pressed.

◆ buttonReleased()

virtual void ControlButton::Listener::buttonReleased ( ControlButton ,
Block::Timestamp   
)
pure virtual

Called when the button is released.


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