Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
FrameworkTask.h File Reference

FreeRTOS-aware task abstraction with built-in notification and queue support. More...

#include <FreeRTOS.h>
#include <task.h>
#include <queue.h>
#include "events/Event.h"
#include "events/Notification.h"
+ Include dependency graph for FrameworkTask.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FrameworkTask
 Base class for FreeRTOS-aware tasks in the framework. More...
 

Detailed Description

Author
Ian Archbell

This class provides a clean interface for managing FreeRTOS tasks, handling notifications, and optionally receiving events or messages via a queue. Tasks subclass this base and override the run() method to define their main loop.

Integrates cleanly with the EventManager and notification system via the onEvent() callback.

Version
0.1
Date
2025-03-26
License:\n MIT License

Definition in file FrameworkTask.h.