OpenSync  0.22
Data Fields
OSyncFlag Struct Reference

The functions that can be called on a plugin. More...

#include <osengine_flags_internals.h>

Data Fields

osync_bool is_set
 
osync_bool is_changing
 
osync_bool default_val
 
OSyncFlagcomb_flag
 
unsigned int num_not_set
 
unsigned int num_set
 
osync_bool is_comb
 
OSyncFlagTriggerFunc pos_trigger_func
 
void * pos_user_data1
 
void * pos_user_data2
 
OSyncFlagTriggerFunc neg_trigger_func
 
void * neg_user_data1
 
void * neg_user_data2
 
osync_bool is_any
 

Detailed Description

The functions that can be called on a plugin.

Definition at line 3 of file osengine_flags_internals.h.

Field Documentation

osync_bool OSyncFlag::is_set

If this flag is raised

Definition at line 5 of file osengine_flags_internals.h.

osync_bool OSyncFlag::is_changing

If this flag is currently changing its value

Definition at line 7 of file osengine_flags_internals.h.

osync_bool OSyncFlag::default_val

The default value of the flag if no children are conencted

Definition at line 9 of file osengine_flags_internals.h.

OSyncFlag* OSyncFlag::comb_flag

The parent flag

Definition at line 11 of file osengine_flags_internals.h.

unsigned int OSyncFlag::num_not_set

The cached number of unset child flags

Definition at line 13 of file osengine_flags_internals.h.

unsigned int OSyncFlag::num_set

The cached number of set child flags

Definition at line 15 of file osengine_flags_internals.h.

osync_bool OSyncFlag::is_comb

If this flag is a combined flag

Definition at line 17 of file osengine_flags_internals.h.

OSyncFlagTriggerFunc OSyncFlag::pos_trigger_func

The function to be called when the value changes from neq to pos

Definition at line 19 of file osengine_flags_internals.h.

void* OSyncFlag::pos_user_data1

To first value to be passed to the pos triger function

Definition at line 21 of file osengine_flags_internals.h.

void* OSyncFlag::pos_user_data2

To second value to be passed to the pos triger function

Definition at line 23 of file osengine_flags_internals.h.

OSyncFlagTriggerFunc OSyncFlag::neg_trigger_func

The function to be called when the value changes from pos to neq

Definition at line 25 of file osengine_flags_internals.h.

void* OSyncFlag::neg_user_data1

To first value to be passed to the neq triger function

Definition at line 27 of file osengine_flags_internals.h.

void* OSyncFlag::neg_user_data2

To second value to be passed to the neq triger function

Definition at line 29 of file osengine_flags_internals.h.

osync_bool OSyncFlag::is_any

Should the combined flag be a OR or a AND flag?

Definition at line 31 of file osengine_flags_internals.h.


The documentation for this struct was generated from the following file: