Open FFBoard
Open source force feedback firmware
ClassChooser.h File Reference

Go to the source code of this file.

Classes

struct  class_entry< B >
 
class  ClassChooser< T >
 

Functions

template<class T , class B >
constexpr class_entry< B > add_class (std::optional< uint16_t > selectionId=std::nullopt)
 
template<class T , class B >
constexpr class_entry< B > add_class_ref (B *ref, std::optional< uint16_t > selectionId=std::nullopt)
 
template<class B >
constexpr class_entry< B > make_class_entry (ClassIdentifier info, B *ref, std::optional< uint16_t > selectionId=std::nullopt)
 

Function Documentation

◆ add_class()

template<class T , class B >
constexpr class_entry< B > add_class ( std::optional< uint16_t >  selectionId = std::nullopt)
constexpr

Definition at line 44 of file ClassChooser.h.

◆ add_class_ref()

template<class T , class B >
constexpr class_entry< B > add_class_ref ( B *  ref,
std::optional< uint16_t >  selectionId = std::nullopt 
)
constexpr

Definition at line 70 of file ClassChooser.h.

◆ make_class_entry()

template<class B >
constexpr class_entry< B > make_class_entry ( ClassIdentifier  info,
B *  ref,
std::optional< uint16_t >  selectionId = std::nullopt 
)
constexpr

Definition at line 78 of file ClassChooser.h.