|
| void | clearFlag (byte flag) |
| | Clears a specific flag for the component.
|
| |
| | Component () |
| | Default constructor for the Component class.
|
| |
| | Component (String _name) |
| | Constructor for the Component class with a specified name.
|
| |
| | Component (String _name, short _id) |
| | Constructor for the Component class with a specified name and ID.
|
| |
| | Component (String _name, short _id, int _flags) |
| | Constructor for the Component class with a specified name, ID, and flags.
|
| |
| | Component (String _name, short _id, int _flags, Component *_owner) |
| | Constructor for the Component class with a specified name, ID, flags, and owner.
|
| |
| virtual short | debug () |
| | Virtual function to debug the component.
|
| |
| virtual short | debug (short val0, short val1) |
| | Virtual function to debug the component.
|
| |
| virtual short | destroy () |
| | Virtual function to destroy the component.
|
| |
| void | disable () |
| | Disables the component.
|
| |
| void | enable () |
| | Enables the component.
|
| |
| bool | enabled () |
| | Checks if the component is enabled.
|
| |
| bool | hasFlag (byte flag) |
| | Checks if the component has a specific flag.
|
| |
| virtual short | info () |
| | Virtual function to display information about the component.
|
| |
| virtual short | info (short val0, short val1) |
| | Virtual function to display information about the component.
|
| |
| virtual short | loop () |
| | Virtual function to run the component in a loop.
|
| |
| virtual short | onError (short id, short error) |
| |
| virtual short | onMessage (int id, E_CALLS verb, E_MessageFlags flags, const void *user, Component *src) |
| | Handles incoming messages.
|
| |
| virtual short | onRawResponse (short size, uint8_t rxBuffer[]) |
| |
| virtual short | onRegisterMethods (Bridge *bridge) |
| |
| virtual short | onResponse (short error) |
| |
| void | setFlag (byte flag) |
| | Sets a specific flag for the component.
|
| |
| virtual short | setup () |
| | Virtual function to set up the component.
|
| |
| | ~Component () |
| | Destructor for the Component class.
|
| |
| short | getAddress () |
| |
| MB_FC | getFunctionCode () |
| |
| short | getNumberAddresses () |
| |
| virtual String | getRegisterDescription (short flags=0) |
| |
| const char * | getRegisterMode () |
| |
| | ModbusGateway () |
| |
| | ModbusGateway (short _addr) |
| |
| | ModbusGateway (short _addr, short _fc) |
| |
| void | setAddress (short _addr) |
| |
| void | setFunctionCode (MB_FC fc) |
| |
| void | setGateway (Mudbus *mudbus) |
| |
| void | setNumberAddresses (short _nbAddr) |
| |
| void | setRegisterMode (MB_REGISTER_MODE mode) |
| |
| int | flags |
| | The run flags for the component.
|
| |
| const short | id |
| | The ID of the component.
|
| |
| millis_t | last |
| | The last tick time in milliseconds.
|
| |
| String | name |
| | The name of the component.
|
| |
| int | nFlags |
| | The network capabilities of the component.
|
| |
| millis_t | now |
| | The current time in milliseconds.
|
| |
| Component * | owner |
| | The owner of the component.
|
| |
| short | addr |
| |
| MB_FC | fn |
| |
| uchar | lastMQSlot |
| |
| Mudbus * | mudbus |
| |
| short | nbAddr |
| |
| short | registerMode |
| |
Definition at line 13 of file Addon.h.