ERIS CORE

◆ AppBaseClass() [1/2]

AppBaseClass::AppBaseClass ( )

Definition at line 14 of file AppBaseClass.cpp.

14  {
15  //ad = &_ad;
16  draw = 0;
17  //Serial.println("AppBaseClass constructor called");
18  has_focus=false;
19  has_pop=false;
20  parent_node=NULL; //set by the parent
21  next_app_node=NULL;
22  previous_app_node=NULL;
23  touch_state = false; //set by the application manager
24  origin_x=0;
25  origin_y=0;
26  width=SCREEN_WIDTH;
27  height=SCREEN_HEIGHT;
30  widget_width=SCREEN_WIDTH;
31  widget_height=SCREEN_HEIGHT;
32  x=0;
33  y=0;
34  w=SCREEN_WIDTH;
35  h=SCREEN_HEIGHT;
36  render_cpu_time =0;
38  update_cpu_time =0;
40  cycle_time =0;
41  cycle_time_max =0;
46  update_priority = 65535;
48  strcpy(name,"NONE");
49  selfRegister();
50 }
AppBaseClass * previous_app_node
Definition: AppBaseClass.h:43
bool touch_state
Definition: AppBaseClass.h:45
uint16_t update_priority_counter
Definition: AppBaseClass.h:53
uint16_t cycle_time_max
Definition: AppBaseClass.h:59
AppBaseClass * next_app_node
Definition: AppBaseClass.h:44
int16_t widget_origin_y
Definition: AppBaseClass.h:70
int16_t widget_height
Definition: AppBaseClass.h:72
int16_t height
Definition: AppBaseClass.h:68
uint16_t update_cpu_time
Definition: AppBaseClass.h:56
uint16_t update_cpu_time_max
Definition: AppBaseClass.h:57
void selfRegister()
self register the instance with the AppManager
uint16_t render_cpu_time_max
Definition: AppBaseClass.h:55
ILI9341_t3_ERIS * draw
Definition: AppBaseClass.h:41
elapsedMicros et_render_period
Definition: AppBaseClass.h:60
int16_t width
Definition: AppBaseClass.h:67
int16_t origin_y
Definition: AppBaseClass.h:66
char name[MAX_NAME_LENGTH]
Definition: AppBaseClass.h:74
int16_t widget_origin_x
Definition: AppBaseClass.h:69
uint16_t update_priority
Definition: AppBaseClass.h:52
uint16_t update_period_max
Definition: AppBaseClass.h:63
elapsedMicros et_update_period
Definition: AppBaseClass.h:62
uint16_t cycle_time
Definition: AppBaseClass.h:58
int16_t origin_x
Definition: AppBaseClass.h:65
AppBaseClass * parent_node
Definition: AppBaseClass.h:42
uint16_t render_cpu_time
Definition: AppBaseClass.h:54
uint16_t render_period_max
Definition: AppBaseClass.h:61
int16_t widget_width
Definition: AppBaseClass.h:71

References cycle_time, cycle_time_max, draw, et_render_period, et_update_period, h, has_focus, has_pop, height, name, next_app_node, origin_x, origin_y, parent_node, previous_app_node, render_cpu_time, render_cpu_time_max, render_period_max, selfRegister(), touch_state, update_cpu_time, update_cpu_time_max, update_period_max, update_priority, update_priority_counter, w, widget_height, widget_origin_x, widget_origin_y, widget_width, width, x, and y.

+ Here is the call graph for this function: