Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends
gridui::CallbacksHolder Class Reference

#include <widget.h>

Public Types

typedef void(* cb_trampoline_t) (void *, WidgetState *)
 
typedef void(* cb_deleter_t) (void *)
 

Public Member Functions

 ~CallbacksHolder ()
 
void call (WidgetState *state, const std::string &event)
 
void add (const std::string &event, void *cb)
 

Friends

class WidgetState
 

Detailed Description

Definition at line 23 of file widget.h.

Member Typedef Documentation

◆ cb_deleter_t

typedef void(* gridui::CallbacksHolder::cb_deleter_t) (void *)

Definition at line 27 of file widget.h.

◆ cb_trampoline_t

typedef void(* gridui::CallbacksHolder::cb_trampoline_t) (void *, WidgetState *)

Definition at line 26 of file widget.h.

Constructor & Destructor Documentation

◆ ~CallbacksHolder()

gridui::CallbacksHolder::~CallbacksHolder ( )
inline

Definition at line 29 of file widget.h.

Member Function Documentation

◆ add()

void gridui::CallbacksHolder::add ( const std::string &  event,
void *  cb 
)
inline

Definition at line 42 of file widget.h.

◆ call()

void gridui::CallbacksHolder::call ( WidgetState state,
const std::string &  event 
)
inline

Definition at line 35 of file widget.h.

Friends And Related Symbol Documentation

◆ WidgetState

friend class WidgetState
friend

Definition at line 24 of file widget.h.


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