NcmModelCtrl

NcmModelCtrl — Control object for testing updates on model status.

Properties

NcmModel * model Read / Write

Object Hierarchy

    GObject
    ╰── NcmModelCtrl

Description

FIXME

Functions

ncm_model_ctrl_new ()

NcmModelCtrl *
ncm_model_ctrl_new (NcmModel *model);

FIXME

Parameters

model

FIXME.

[allow-none]

Returns

FIXME


ncm_model_ctrl_set_model ()

gboolean
ncm_model_ctrl_set_model (NcmModelCtrl *ctrl,
                          NcmModel *model);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

model

FIXME

 

Returns

FIXME


ncm_model_ctrl_force_update ()

void
ncm_model_ctrl_force_update (NcmModelCtrl *ctrl);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

ncm_model_ctrl_free ()

void
ncm_model_ctrl_free (NcmModelCtrl *ctrl);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

ncm_model_ctrl_clear ()

void
ncm_model_ctrl_clear (NcmModelCtrl **ctrl);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

ncm_model_ctrl_get_model ()

NcmModel *
ncm_model_ctrl_get_model (NcmModelCtrl *ctrl);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

Returns

FIXME.

[transfer full]


ncm_model_ctrl_update ()

gboolean
ncm_model_ctrl_update (NcmModelCtrl *ctrl,
                       NcmModel *model);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

model

FIXME

 

Returns

FIXME


ncm_model_ctrl_model_update ()

gboolean
ncm_model_ctrl_model_update (NcmModelCtrl *ctrl,
                             NcmModel *model);

FIXME

Parameters

ctrl

a NcmModelCtrl

 

model

FIXME

 

Returns

FIXME


ncm_model_ctrl_model_last_update ()

gboolean
ncm_model_ctrl_model_last_update (NcmModelCtrl *ctrl);

Checks if the main model was updated during the last call to ncm_model_ctrl_update().

Parameters

ctrl

a NcmModelCtrl

 

Returns

TRUE if the main model was updated.


ncm_model_ctrl_model_has_submodel ()

gboolean
ncm_model_ctrl_model_has_submodel (NcmModelCtrl *ctrl,
                                   NcmModelID mid);

Checks if there is a submode inside ctrl model, it is an error to call this function in an empty ctrl .

Parameters

ctrl

a NcmModelCtrl

 

mid

a NcmModelID

 

Returns

TRUE if there is a submodel with mid inside the ctrl model.


ncm_model_ctrl_submodel_last_update ()

gboolean
ncm_model_ctrl_submodel_last_update (NcmModelCtrl *ctrl,
                                     NcmModelID mid);

Checks if the submodel mid was updated during the last call to ncm_model_ctrl_update().

Parameters

ctrl

a NcmModelCtrl

 

mid

a NcmModelID

 

Returns

TRUE if the submodel with mid inside the ctrl model was updated.

Property Details

The “model” property

  “model”                    NcmModel *

Last Model used.

Owner: NcmModelCtrl

Flags: Read / Write