ZotBins Core
Loading...
Searching...
No Matches
clientTask.hpp
Go to the documentation of this file.
1
8
9#ifndef CLIENT_TASK_HPP
10#define CLIENT_TASK_HPP
11
12#include "freertos/FreeRTOS.h"
13#include "freertos/queue.h"
14#include "freertos/task.h"
15#include "task.hpp"
16
17namespace Zotbins
18{
23 class ClientTask : public Task
24 {
25 public:
30 explicit ClientTask(QueueHandle_t &messageQueue);
31
36 void start() override;
37
38 private:
45 static void taskFunction(void *task);
46
52 void setup();
53
59 void loop();
60 };
61}
62
63#endif
void start() override
Start execution of Client Task.
Definition clientTask.cpp:17
ClientTask(QueueHandle_t &messageQueue)
Construct a new MQTT Client Task object.
Definition clientTask.cpp:13
Task(const char *name, const int priority, const uint32_t stackSize)
Construct a new Task object. Parameters are needed for FreeRTOS.
Definition task.hpp:31
Header file for Task class.