|
|
| Loom_Relay (LoomManager *manager, const byte pin=10) |
| Constructor. More...
|
|
| Loom_Relay (LoomManager *manager, JsonArrayConst p) |
| Constructor that takes Json Array, extracts args and delegates to regular constructor. More...
|
|
| ~Loom_Relay ()=default |
| Destructor. More...
|
|
|
void | package (JsonObject json) override |
| Not all actuators need a package method, implement with empty body. More...
|
|
bool | dispatch (JsonObject json) override |
| Route command to driver. More...
|
|
void | add_config (JsonObject json) override |
| Add configuration information to JsonObject. More...
|
|
void | set (const bool state) |
| Set relay state. More...
|
|
|
void | print_state () const override |
| Display current state of the module. More...
|
|
| LoomActuator (LoomManager *manager, const char *module_name, const LoomModule::Type module_type) |
| Constructor. More...
|
|
virtual | ~LoomActuator ()=default |
| Destructor. More...
|
|
| LoomModule (LoomManager *manager, const char *module_name="Unknown", const Type module_type=Type::Unknown) |
| Constructor. More...
|
|
virtual | ~LoomModule ()=default |
| Destructor. More...
|
|
virtual void | second_stage_ctor () |
| Second stage construction. More...
|
|
virtual void | power_down () |
| Turn off any hardware. More...
|
|
virtual void | power_up () |
| Turn on any hardware. More...
|
|
Type | get_module_type () const |
| Get module type. More...
|
|
LoomManager * | get_device_manager () const |
| Get the device manager class if linked. More...
|
|
void | get_module_name (char *buf) const |
| Copy module name into buffer. More...
|
|
const char * | get_module_name () const |
| Get module name. More...
|
|
Verbosity | get_print_verbosity () const |
| Get print verbosity. More...
|
|
Verbosity | get_package_verbosity () const |
| Get package verbosity. More...
|
|
bool | get_active () const |
| Get whether or not the module should be treated as active. More...
|
|
Category | category () const |
| Get the category of the module. More...
|
|
virtual void | link_device_manager (LoomManager *LM) |
| Add pointer back to device manager. More...
|
|
void | set_print_verbosity (const Verbosity v) |
| Set print verbosity Controlls level of detail included in debug prints. More...
|
|
void | set_package_verbosity (const Verbosity v) |
| Set package verbosity. More...
|
|
void | set_active (const bool enable) |
| Set whether or not the module should be treated as active. More...
|
|
virtual void | print_config () const |
| Display the configuration settings of the module. More...
|
|