|
void | set_id (const char *id) |
|
void | write_state (float state) override |
|
bool | has_state () |
|
void | set_min_value (float min_value) override |
|
void | set_max_value (float max_value) override |
|
float | get_min_value () |
|
float | get_max_value () |
|
void | set_max_power (float max_power) |
| Set the maximum power output of this component. More...
|
|
void | set_min_power (float min_power) |
| Set the minimum power output of this component. More...
|
|
void | set_zero_means_zero (bool zero_means_zero) |
| Sets this output to ignore min_power for a 0 state. More...
|
|
void | set_level (float state) |
| Set the level of this float output, this is called from the front-end. More...
|
|
virtual void | update_frequency (float frequency) |
| Set the frequency of the output for PWM outputs. More...
|
|
float | get_max_power () const |
| Get the maximum power output. More...
|
|
float | get_min_power () const |
| Get the minimum power output. More...
|
|
void | set_inverted (bool inverted) |
| Set the inversion state of this binary output. More...
|
|
void | set_power_supply (power_supply::PowerSupply *power_supply) |
| Use this to connect up a power supply to this output. More...
|
|
virtual void | set_state (bool state) |
| Enable or disable this binary output. More...
|
|
virtual void | turn_on () |
| Enable this binary output. More...
|
|
virtual void | turn_off () |
| Disable this binary output. More...
|
|
bool | is_inverted () const |
| Return whether this binary output is inverted. More...
|
|
virtual void | setup () |
| Where the component's initialization should happen. More...
|
|
virtual void | loop () |
| This method will be called repeatedly. More...
|
|
virtual void | dump_config () |
|
virtual float | get_setup_priority () const |
| priority of setup(). More...
|
|
float | get_actual_setup_priority () const |
|
void | set_setup_priority (float priority) |
|
virtual float | get_loop_priority () const |
| priority of loop(). More...
|
|
void | call () |
|
virtual void | on_shutdown () |
|
virtual void | on_safe_shutdown () |
|
uint32_t | get_component_state () const |
|
virtual void | mark_failed () |
| Mark this component as failed. More...
|
|
bool | is_failed () const |
|
bool | is_ready () const |
|
virtual bool | can_proceed () |
|
bool | status_has_warning () const |
|
bool | status_has_error () const |
|
void | status_set_warning (const char *message="unspecified") |
|
void | status_set_error (const char *message="unspecified") |
|
void | status_clear_warning () |
|
void | status_clear_error () |
|
void | status_momentary_warning (const std::string &name, uint32_t length=5000) |
|
void | status_momentary_error (const std::string &name, uint32_t length=5000) |
|
bool | has_overridden_loop () const |
|
void | set_component_source (const char *source) |
| Set where this component was loaded from for some debug messages. More...
|
|
const char * | get_component_source () const |
| Get the integration where this component was declared as a string. More...
|
|
virtual void | set_auto_min_value (bool auto_min_value) |
|
virtual void | set_auto_max_value (bool auto_max_value) |
|