Factory
Object Hierarchy:
Bump.Factory
Bump.Factory
Bump.Factory
GLib.Object
GLib.Object
GLib.Object->Bump.Factory
Description:
public abstract class Factory <G > : Object
Object which creates other objects
In order to acquire an instance of the type the factory creates you should use one of the acquire methods (
acquire ,
acquire_async , and
acquire_background ). The create methods exist to be overridden
in order to properly integrate with subclasses and should not be called directly except from within acquire implementations.
Content:
Properties:
Creation methods:
Methods:
public abstract unowned G acquire (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Synchronously acquire an instance
public abstract async unowned G acquire_async (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Asynchronously acquire an instance
public abstract async unowned G acquire_background (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Asynchronously acquire an instance in a background thread
protected virtual G create (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Create an instance synchronously
protected virtual async G create_async (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Create an instance asynchronously
protected virtual async G create_background (int priority = DEFAULT , Cancellable ? cancellable = null ) throws Error
Create an instance in a background thread
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref