|
| bool | store () override |
| | Stores the current time to persistent storage.
|
| |
| bool | restore () override |
| | Restores time from persistent storage.
|
| |
| virtual void | execute (short _) override |
| | Periodic execution callback.
|
| |
| void | forceSync () |
| | Forces immediate NTP time synchronization.
|
| |
| virtual | ~IExecutor () |
| | Virtual destructor for proper cleanup.
|
| |
| | CBORStorage (const String &path) |
| | Constructs a new CBORStorage object.
|
| |
| virtual | ~CBORStorage () |
| | Virtual destructor.
|
| |
| CBORObject & | object () |
| | Get access to the underlying CBORObject.
|
| |
| virtual bool | clean () override |
| | Clean the CBOR object and remove the storage file.
|
| |
| | Storage (const String &path) |
| | Constructs a Storage object for a specific file.
|
| |
| virtual | ~Storage () |
| | Destructor.
|
| |
| | Singleton (const Singleton &)=delete |
| | Copy constructor is deleted to prevent duplicating the singleton instance.
|
| |
| Singleton & | operator= (const Singleton &)=delete |
| | Assignment operator is deleted to prevent duplicating the singleton instance.
|
| |
| virtual | ~EventEmitter ()=default |
| | Virtual destructor to ensure proper cleanup of derived classes.
|
| |
| virtual type_id | getTypeId () const override |
| | Returns the type identifier for this EventEmitter.
|
| |
| void | emitEvent (unsigned int topic, int msg) |
| | Emits an event to all registered event buses.
|
| |
| virtual | ~EventEmitter ()=default |
| | Virtual destructor to ensure proper cleanup of derived classes.
|
| |
| virtual type_id | getTypeId () const override |
| | Returns the type identifier for this EventEmitter.
|
| |
| void | emitEvent (unsigned int topic, int msg) |
| | Emits an event to all registered event buses.
|
| |
| virtual | ~EventEntity () |
| | Destructor - disconnects from all connected EventBus instances.
|
| |
| bool | sendDataToChannel (T_topic channel, T_data data) |
| | Sends data to a specific channel on all connected EventBus instances.
|
| |
| void | receiveDataFromChannel (T_topic channel, DataChannelCallback callback) |
| | Receives data from a specific channel on all connected EventBus instances.
|
| |
|
| using | DataChannelCallback = std::function<void(unsigned int, bool, T_data)> |
| | Callback type for handling data received from channels.
|
| |
| void | setPath (const String &path) |
| | Sets the file path, ensuring it starts with "/".
|
| |
| | Singleton ()=default |
| | Default constructor is protected to prevent instantiation outside of derived classes.
|
| |
| | ~Singleton ()=default |
| | Default destructor is protected to prevent deletion through base class pointer.
|
| |
| bool | connectUnique (EventBus< T_topic, T_msg, T_data > *eventBus) |
| | Connects to an EventBus instance if not already connected.
|
| |
| CBORObject | mCbor |
| | The CBOR object used for data serialization/deserialization.
|
| |
| Bytes | mData |
| | The byte array containing the data to be stored or the loaded data.
|
| |
| String | mPath |
| | The file path where data is stored.
|
| |
| IterableQueue< EventBus< T_topic, T_msg, T_data > * > | mEventBusQueue |
| | Queue of EventBus instances this entity is connected to.
|
| |