Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Updatable< T > Class Template Referenceabstract

#include <AH/Containers/Updatable.hpp>

Detailed Description

template<class T = NormalUpdatable>
class Updatable< T >

A super class for object that have to be updated regularly.

All instances of this class are kept in a linked list, so it's easy to iterate over all of them to update them.

Definition at line 169 of file Updatable.hpp.

Inheritance diagram for Updatable< T >:
Collaboration diagram for Updatable< T >:

Main initialization and updating methods

virtual void begin ()=0
 Initialize this updatable.
virtual void update ()=0
 Update this updatable.
static void beginAll ()
 Begin all enabled instances of this class.
static void updateAll ()
 Update all enabled instances of this class.

Member Function Documentation

◆ begin()

◆ update()

◆ beginAll()

template<class T = NormalUpdatable>
void beginAll ( )
inlinestatic

Begin all enabled instances of this class.

See also
begin()

Definition at line 182 of file Updatable.hpp.

◆ updateAll()

template<class T = NormalUpdatable>
void updateAll ( )
inlinestatic

Update all enabled instances of this class.

See also
update()

Definition at line 186 of file Updatable.hpp.


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