#include <ChoosableClass.h>
Definition at line 24 of file ChoosableClass.h.
◆ ~ChoosableClass()
virtual ChoosableClass::~ChoosableClass |
( |
| ) |
|
|
inlinevirtual |
◆ getClassType()
virtual const ClassType ChoosableClass::getClassType |
( |
| ) |
|
|
inlinevirtual |
returns the used classchooser selection id of this instance
Type of this class. Mainclass, motordriver... Should be implemented by the parent class so it is not in the info struct
Reimplemented in ButtonSource, LocalButtons, AnalogSource, Encoder, MotorDriver, ADS111X_AnalogSource, FFBoardMain, LocalAnalog, PCF8574Buttons, ShifterAnalog, SPI_Buttons, and TMC4671.
Definition at line 49 of file ChoosableClass.h.
◆ getInfo()
Implemented in Encoder, MotorDriver, ADS111X_AnalogSource, CanAnalogBase, CanButtons, CustomMain, EncoderBissC, EncoderLocal, EncoderSSI, FFBHIDExt, FFBJoystick, FFBoardMain, FFBWheel, LocalAnalog, LocalButtons, MidiMain, MotorPWM, MotorSimplemotion1, MotorSimplemotion2, MtEncoderSPI, ODriveCAN1, ODriveCAN2, PCF8574Buttons, RmdMotorCAN1, RmdMotorCAN2, ShifterAnalog, TMC4671, TMCDebugBridge, VESC_1, VESC_2, CanBridge, SPI_Buttons_1, SPI_Buttons_2, AnalogSource, ButtonSource, FFBHIDMain, MotorSimplemotion, ODriveCAN, and RmdMotorCAN.
◆ getSelectionID()
uint16_t ChoosableClass::getSelectionID |
( |
| ) |
|
|
inline |
◆ isCreatable()
static bool ChoosableClass::isCreatable |
( |
| ) |
|
|
inlinestatic |
Returns true if a new instance can be created. Use this to do prechecks if ressources are available If it returns false this can signal the classchooser that at this time a new instance can not be created.
Definition at line 40 of file ChoosableClass.h.
◆ ClassChooser
◆ info
◆ selectionId
uint16_t ChoosableClass::selectionId |
|
protected |
The documentation for this class was generated from the following file: