C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
rtos_UIControlledModel Class Referenceabstract

RTOS wrapper for UIControlledModel class. More...

#include <rtos_ui_core.h>

Inheritance diagram for rtos_UIControlledModel:
Inheritance graph
Collaboration diagram for rtos_UIControlledModel:
Collaboration graph

Public Member Functions

void update_rtos_status (ControlledObjectStatus _new_status)
 update the status of the controlled model
 
ControlledObjectStatus get_rtos_status ()
 Get the current status of the controlled model.
 
virtual void process_control_event (struct_ControlEventData control_event)=0
 process a control event received from the control event queue
 
- Public Member Functions inherited from rtos_Model
void update_attached_rtos_widget (rtos_Widget *linked_widget)
 link a new widget task to the model
 
void notify_all_linked_widget_task ()
 notify all linked widget tasks that the model has changed
 
 rtos_Model ()
 constructor for RTOS model
 
 ~rtos_Model ()
 destructor for RTOS model
 

Public Attributes

QueueHandle_t control_event_input_queue
 FreeRTOS queue handle used to receive control events for this model.
 
- Public Attributes inherited from rtos_Model
TaskHandle_t task_handle
 the task handle of the model task
 

Protected Attributes

ControlledObjectStatus rtos_status {ControlledObjectStatus::IS_WAITING}
 The status of the model, indicating if it is waiting, active or just ahs focus (pointed by the object manager)
 

Detailed Description

RTOS wrapper for UIControlledModel class.

Member Function Documentation

◆ get_rtos_status()

ControlledObjectStatus rtos_UIControlledModel::get_rtos_status ( )

Get the current status of the controlled model.

Returns
The current status of the controlled model

◆ process_control_event()

virtual void rtos_UIControlledModel::process_control_event ( struct_ControlEventData control_event)
pure virtual

process a control event received from the control event queue

Parameters
control_eventthe control event to be processed

◆ update_rtos_status()

void rtos_UIControlledModel::update_rtos_status ( ControlledObjectStatus _new_status)

update the status of the controlled model

Parameters
_new_statusthe new status to be set
Here is the call graph for this function:
Here is the caller graph for this function:

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