| librygel-core Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Properties | Signals | ||||
void rygel_state_machine_run (RygelStateMachine *self,GAsyncReadyCallback _callback_,gpointer _user_data_); void rygel_state_machine_run_finish (RygelStateMachine *self,GAsyncResult *_res_); GCancellable * rygel_state_machine_get_cancellable (RygelStateMachine *self); void rygel_state_machine_set_cancellable (RygelStateMachine *self,GCancellable *value); RygelStateMachine; struct RygelStateMachineIface;
void rygel_state_machine_run (RygelStateMachine *self,GAsyncReadyCallback _callback_,gpointer _user_data_);
See also: rygel_state_machine_run_finish()
|
the RygelStateMachine instance |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
void rygel_state_machine_run_finish (RygelStateMachine *self,GAsyncResult *_res_);
See also: rygel_state_machine_run()
|
the RygelStateMachine instance |
|
a GAsyncResult |
GCancellable * rygel_state_machine_get_cancellable (RygelStateMachine *self);
Get and return the current value of the "cancellable" property.
|
the RygelStateMachine instance to query |
Returns : |
the value of the "cancellable" property |
void rygel_state_machine_set_cancellable (RygelStateMachine *self,GCancellable *value);
Set the value of the "cancellable" property to value.
|
the RygelStateMachine instance to modify |
|
the new value of the "cancellable" property |
struct RygelStateMachineIface {
GTypeInterface parent_iface;
void (*run) (RygelStateMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void (*run_finish) (RygelStateMachine* self, GAsyncResult* _res_);
GCancellable* (*get_cancellable) (RygelStateMachine* self);
void (*set_cancellable) (RygelStateMachine* self, GCancellable* value);
};
Interface for creating RygelStateMachine implementations.
| the parent interface structure | |
virtual method called by
|
|
asynchronous finish function for run, called by
|
|
| getter method for the abstract property "cancellable" | |
| setter method for the abstract property "cancellable" |
"completed" signalvoid user_function (RygelStateMachine *state_machine,
gpointer user_data) : Run Last
|
the RygelStateMachine instance that received the signal |
|
user data set when the signal handler was connected. |