75 static bool allowed_to_run_callbacks;
77 double callback_time_sum;
78 int callback_time_count;
84 void remove_all_callbacks();
85 void remove_all_target_vars();
89 bool has_managed_tmp_state()
const {
return !in_tmp_branch &&
gb_origin; }
91 void update_tmp_state_during_change();
105 #if defined(ASSERTION_USED)
116 if (callback_time_sum>0) {
117 return callback_time_sum / callback_time_count;
155 #if defined(ASSERTION_USED)
156 bool is_valid()
const {
return correlated(gb_var, gb_origin); }
157 #endif // ASSERTION_USED
201 #error aw_awar.hxx included twice
202 #endif // AW_AWAR_HXX
GB_ERROR rewrite_pointer(GBDATA *aw_pointer)
GB_ERROR make_global() __ATTR__USERESULT
AW_awar * set_srt(const char *srt)
AW_awar * add_callback(RootCallbackSimple f)
GBDATA * read_pointer() const
GB_ERROR write_pointer(GBDATA *aw_pointer)
AW_awar(AW_VARIABLE_TYPE var_type, const char *var_name, const char *var_value, float var_float_value, AW_default default_file, AW_root *root)
GB_ERROR rewrite_as_string(const char *aw_string)
AW_VARIABLE_TYPE variable_type
AW_awar * set_minmax(float min, float max)
void(* RootCallbackSimple)(AW_root *)
AW_VARIABLE_TYPE get_type() const
AW_awar * set_max(float max)
AW_awar * add_callback(const RootCallback &cb)
const char * read_char_pntr() const
GB_ERROR write_as(char *aw_value)
GB_ERROR rewrite_int(long aw_int)
GB_ERROR rewrite_as(char *aw_value)
double mean_callback_time() const
bool unlink_from_DB(GBDATA *gb_main)
char * read_as_string() const
GB_ERROR reset_to_default()
void set_temp_if_is_default(GBDATA *gb_db)
char * read_string() const
AW_awar * remove_callback(const RootCallback &cb)
GB_ERROR write_as_string(const char *aw_string)
AW_awar * add_target_var(char **ppchr)
GB_ERROR rewrite_float(float aw_float)
AW_awar * remove_callback(RootCallbackSimple f)
#define __ATTR__USERESULT
AW_awar * map(const char *awarn)
void update_target(AW_var_target *pntr)
GB_ERROR write_string(const char *aw_string)
struct AW_awar::@60::@62 f
GB_ERROR write_float(float aw_float)
GB_ERROR write_int(long aw_int)
struct _WidgetRec * Widget
void tie_widget(AW_CL cd1, Widget widget, AW_widget_type type, AW_window *aww)
AW_awar * set_min(float min)
GB_ERROR rewrite_string(const char *aw_string)