ZotBins Core
Loading...
Searching...
No Matches
Zotbins::UsageTask Class Reference

Task to measure the usage rate of the bin using the breakbeam sensor. More...

#include <usageTask.hpp>

Inheritance diagram for Zotbins::UsageTask:
Inheritance graph

Public Member Functions

 UsageTask (QueueHandle_t &messageQueue)
 Construct a new Usage Task object.
 
void start () override
 Start execution of Usage Task.
 
- Public Member Functions inherited from Zotbins::Task
 Task (const char *name, const int priority, const uint32_t stackSize)
 Construct a new Task object. Parameters are needed for FreeRTOS.
 

Additional Inherited Members

- Protected Attributes inherited from Zotbins::Task
const char * mName
 Name of task.
 
const int mPriority
 Priority number of task.
 
const uint32_t mStackSize
 Task size of task.
 

Detailed Description

Task to measure the usage rate of the bin using the breakbeam sensor.

Constructor & Destructor Documentation

◆ UsageTask()

UsageTask::UsageTask ( QueueHandle_t & messageQueue)
explicit

Construct a new Usage Task object.

Parameters
messageQueueMessage queue to WiFi Task

Member Function Documentation

◆ start()

void UsageTask::start ( )
overridevirtual

Start execution of Usage Task.

Implements Zotbins::Task.


The documentation for this class was generated from the following files: