The BLOCKS SDK
ControlButton::Listener Struct Referenceabstract

Description

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

Public Member Functions

virtual ~Listener ()
 
virtual void buttonPressed (ControlButton &, Block::Timestamp)=0
 
virtual void buttonReleased (ControlButton &, Block::Timestamp)=0
 

Constructor & Destructor Documentation

§ ~Listener()

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

Member Function Documentation

§ buttonPressed()

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

§ buttonReleased()

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

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