VLC 4.0.0-dev
Loading...
Searching...
No Matches
variable_t Struct Reference

The structure describing a variable. More...

Collaboration diagram for variable_t:
[legend]

Data Fields

char * psz_name
 The variable unique name (must be first)
 
vlc_value_t val
 The variable's exported value.
 
char * psz_text
 The variable display name, mainly for use by the interfaces.
 
const variable_ops_tops
 
int i_type
 The type of the variable.
 
unsigned i_usage
 Reference count.
 
vlc_value_t min
 If the variable has min/max/step values.
 
vlc_value_t max
 
vlc_value_t step
 
vlc_value_tchoices
 List of choices.
 
char ** choices_text
 List of friendly names for the choices.
 
size_t choices_count
 
bool b_incallback
 Set to TRUE if the variable is in a callback.
 
callback_entry_tvalue_callbacks
 Registered value callbacks.
 
callback_entry_tlist_callbacks
 Registered list callbacks.
 
vlc_cond_t wait
 

Detailed Description

The structure describing a variable.

Note
vlc_value_t is the common union for variable values

Field Documentation

◆ b_incallback

bool variable_t::b_incallback

Set to TRUE if the variable is in a callback.

Referenced by var_Create(), and var_Destroy().

◆ choices

vlc_value_t* variable_t::choices

List of choices.

Referenced by Destroy(), var_Change(), and var_Create().

◆ choices_count

size_t variable_t::choices_count

◆ choices_text

char** variable_t::choices_text

List of friendly names for the choices.

Referenced by Destroy(), var_Change(), and var_Create().

◆ i_type

int variable_t::i_type

The type of the variable.

Referenced by var_Change(), var_Create(), var_GetAndSet(), var_GetChecked(), var_SetChecked(), and var_Type().

◆ i_usage

unsigned variable_t::i_usage

Reference count.

Referenced by var_Create(), and var_Destroy().

◆ list_callbacks

callback_entry_t* variable_t::list_callbacks

Registered list callbacks.

Referenced by AddCallback(), DelCallback(), and Destroy().

◆ max

vlc_value_t variable_t::max

Referenced by var_Change(), and var_Create().

◆ min

vlc_value_t variable_t::min

If the variable has min/max/step values.

Referenced by var_Change(), and var_Create().

◆ ops

const variable_ops_t* variable_t::ops

◆ psz_name

char* variable_t::psz_name

The variable unique name (must be first)

Referenced by Destroy(), var_Create(), and varcmp().

◆ psz_text

char* variable_t::psz_text

The variable display name, mainly for use by the interfaces.

Referenced by Destroy(), var_Change(), and var_Create().

◆ step

vlc_value_t variable_t::step

Referenced by var_Change().

◆ val

vlc_value_t variable_t::val

◆ value_callbacks

callback_entry_t* variable_t::value_callbacks

Registered value callbacks.

Referenced by AddCallback(), DelCallback(), Destroy(), and var_Create().

◆ wait

vlc_cond_t variable_t::wait

Referenced by var_Create().


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