Control Surface main
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
LambdaPuller_< Lambda > Class Template Reference

#include <MIDI_Parsers/LambdaPuller.hpp>

Detailed Description

template<class Lambda>
class LambdaPuller_< Lambda >

Helper to turn a lambda function into a puller.

Definition at line 13 of file LambdaPuller.hpp.

+ Collaboration diagram for LambdaPuller_< Lambda >:

Public Member Functions

 LambdaPuller_ (Lambda &&lambda)
 
template<class T >
bool pull (T &packet)
 

Private Attributes

Lambda lambda
 

Constructor & Destructor Documentation

◆ LambdaPuller_()

LambdaPuller_ ( Lambda &&  lambda)
inline

Definition at line 15 of file LambdaPuller.hpp.

Member Function Documentation

◆ pull()

bool pull ( T &  packet)
inline

Definition at line 18 of file LambdaPuller.hpp.

Member Data Documentation

◆ lambda

Lambda lambda
private

Definition at line 23 of file LambdaPuller.hpp.


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