160 #if PPG_HAVE_DEBUGGING
166 bool ppg_global_check_consistency(
void);
PPG_Time ppg_global_get_timeout(void)
Returns the current timeout value.
void(* PPG_Event_Processor_Fun)(PPG_Event *event, void *user_data)
A callback function that is used during processing of stored input events.
Definition: ppg_event.h:58
PPG_Input_Id ppg_global_set_abort_trigger(PPG_Input_Id input)
Defines an input that aborts current pattern processing.
PPG_Layer ppg_global_set_layer(PPG_Layer layer)
Set the current layer.
bool ppg_global_get_timeout_enabled(void)
Determines if global timeout is enabled.
bool ppg_global_set_timeout_enabled(bool state)
Toggles global timeout.
bool ppg_global_set_enabled(bool state)
Use this function to temporarily disable/enable pattern processing.
void ppg_global_abort_pattern_matching(void)
Aborts processing of the current pattern.
The PPG_Signal_Callback_Fun struct groups use callback information in an object oriented fashion (fun...
Definition: ppg_signal_callback.h:34
PPG_Signal_Callback ppg_global_get_signal_callback(void)
Get the current signal callback.
PPG_Layer ppg_global_get_layer(void)
Retreives the currently active layer.
void ppg_global_compile(void)
Compiles the Papageno pattern tree.
void ppg_global_init(void)
Initialize Papageno.
void ppg_global_reset(void)
Resets papageno to initial state.
void ppg_global_finalize(void)
Finalizes Papageno, i.e. clears all patterns and frees all allocated memory.
PPG_Event_Processor_Fun ppg_global_set_default_event_processor(PPG_Event_Processor_Fun event_processor)
Defines the default input processor callback.
PPG_Time ppg_global_set_timeout(PPG_Time timeout)
Set the current timeout for pattern processing.
PPG_Input_Id ppg_global_get_abort_trigger(void)
Retreives the current abort input.
bool ppg_timeout_check(void)
The timeout check function.
PPG_Signal_Callback ppg_global_set_signal_callback(PPG_Signal_Callback callback)
Set a callback that is used to signal specific events.