|
Aruna
|
#include <Performer.h>


Public Member Functions | |
| Performer () | |
| Performs check to see if the system is in a secure state. More... | |
| ~Performer () | |
| virtual status_t * | update_status ()=0 |
| Perform check to see if system is secure and return updated status. More... | |
| void | set_update (bool do_update) |
| Use to pauze and resume the update process. More... | |
Public Attributes | |
| uint32_t | update_ms = 500 |
| update frequency More... | |
Protected Member Functions | |
| void | update_handler () |
Static Protected Member Functions | |
| static void * | _update_handler (void *_this) |
Protected Attributes | |
| pthread_t | thread |
| pthread_cond_t | do_update_con |
| pthread_mutex_t | do_update_mut |
| log::channel_t * | log |
| char | log_tag [10] = "SIS perf" |
| bool | do_update = false |
| bool | interrupt_based = false |
Private Attributes | |
| status_t | status |
Definition at line 15 of file Performer.h.
| aruna::sis::Performer::Performer | ( | ) |
Performs check to see if the system is in a secure state.
Definition at line 16 of file Performer.cpp.

| Performer::~Performer | ( | ) |
Definition at line 64 of file Performer.cpp.
|
staticprotected |
Definition at line 31 of file Performer.cpp.


| void aruna::sis::Performer::set_update | ( | bool | do_update | ) |
Use to pauze and resume the update process.
| do_update,bool |
Definition at line 57 of file Performer.cpp.
|
protected |
Definition at line 36 of file Performer.cpp.


|
pure virtual |
Perform check to see if system is secure and return updated status.
Implemented in aruna::sensor::Water.

|
protected |
Definition at line 27 of file Performer.h.
|
protected |
Definition at line 21 of file Performer.h.
|
protected |
Definition at line 22 of file Performer.h.
|
protected |
Definition at line 35 of file Performer.h.
|
protected |
Definition at line 24 of file Performer.h.
|
protected |
Definition at line 25 of file Performer.h.
|
private |
Definition at line 17 of file Performer.h.
|
protected |
Definition at line 20 of file Performer.h.
| uint32_t aruna::sis::Performer::update_ms = 500 |
update frequency
Definition at line 40 of file Performer.h.