COSA
An Object-Oriented Platform for Arduino Programming
Event::Handler Class Reference

#include <Event.hh>

Inheritance diagram for Event::Handler:
Inheritance graph
Collaboration diagram for Event::Handler:
Collaboration graph

Public Member Functions

virtual void on_event (uint8_t type, uint16_t value)
 

Detailed Description

Event handler root class.

Definition at line 98 of file Event.hh.

Member Function Documentation

virtual void Event::Handler::on_event ( uint8_t  type,
uint16_t  value 
)
inlinevirtual

Default null event handler. Should be redefined by sub-classes. Called by Event::dispatch().

Parameters
[in]typethe event type.
[in]valuethe event value.

Reimplemented in Menu::RotaryController, Rotary::Dial< T >, AnalogPin, Job, TWI::Slave, ProtoThread, AnalogPins, and Periodic.

Definition at line 107 of file Event.hh.


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