Public Member Functions | |
| void | kill_process_on_timeout (string process_to_kill, int seconds_to_wait=DEFAULT_SECONDS_TO_WAIT, bool exit_app=false) |
| void | exit_on_timeout (int seconds_to_wait=DEFAULT_SECONDS_TO_WAIT) |
| void | stop () |
| void | start_counter_thread () |
Public Attributes | |
| bool | active = false |
| string | process_to_kill = "" |
| int | seconds_to_wait = 60 |
| bool | exit_app = false |
Static Public Attributes | |
| const int | DEFAULT_SECONDS_TO_WAIT = 60 |
Definition at line 30 of file TimeoutCounter.vala.
|
inline |
Definition at line 54 of file TimeoutCounter.vala.
References active, DEFAULT_SECONDS_TO_WAIT, Error, TeeJee.Logging.log_error(), seconds_to_wait, and start_counter_thread().
|
inline |
Definition at line 38 of file TimeoutCounter.vala.
References active, DEFAULT_SECONDS_TO_WAIT, Error, exit_app, TeeJee.Logging.log_error(), process_to_kill, seconds_to_wait, and start_counter_thread().
|
inline |
Definition at line 72 of file TimeoutCounter.vala.
References active, exit(), exit_app, TeeJee.Logging.log_debug(), process_to_kill, and seconds_to_wait.
Referenced by exit_on_timeout(), and kill_process_on_timeout().
|
inline |
| bool TimeoutCounter.active = false |
Definition at line 32 of file TimeoutCounter.vala.
Referenced by exit_on_timeout(), kill_process_on_timeout(), start_counter_thread(), and stop().
|
static |
Definition at line 34 of file TimeoutCounter.vala.
Referenced by exit_on_timeout(), and kill_process_on_timeout().
| bool TimeoutCounter.exit_app = false |
Definition at line 36 of file TimeoutCounter.vala.
Referenced by kill_process_on_timeout(), and start_counter_thread().
| string TimeoutCounter.process_to_kill = "" |
Definition at line 33 of file TimeoutCounter.vala.
Referenced by kill_process_on_timeout(), and start_counter_thread().
| int TimeoutCounter.seconds_to_wait = 60 |
Definition at line 35 of file TimeoutCounter.vala.
Referenced by exit_on_timeout(), kill_process_on_timeout(), and start_counter_thread().