|
Prusa3d Marlin fork
|
#include <Filament_sensor.h>


Public Types | |
| enum class | State : uint8_t { disabled = 0 , initializing , ready , error } |
| enum class | SensorActionOnError : uint8_t { _Continue = 0 , _Pause = 1 , _Undef = EEPROM_EMPTY_VALUE } |
Static Public Member Functions | |
| static void | setEnabled (bool enabled) |
Protected Member Functions | |
| void | settings_init_common () |
| bool | checkFilamentEvents () |
| void | triggerFilamentInserted () |
| void | triggerFilamentRemoved () |
| void | filRunout () |
| void | triggerError () |
Protected Attributes | |
| State | state |
| bool | autoLoadEnabled |
| bool | runoutEnabled |
| bool | oldFilamentPresent |
| bool | postponedLoadEvent |
| ShortTimer | eventBlankingTimer |
| SensorActionOnError | sensorActionOnError |
Base class Filament sensor
Ideally, there could have been a nice class hierarchy of filament sensor types with common functionality extracted into this base class. But:
|
protected |
some message, idk