AgsLocalFactoryController

AgsLocalFactoryController — local factory controller

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLocalFactoryController

Includes

#include <ags/server/controller/ags_local_factory_controller.h>

Description

The AgsLocalFactoryController is a controller.

Functions

ags_local_factory_controller_create_instance ()

gpointer
ags_local_factory_controller_create_instance
                               (AgsLocalFactoryController *local_factory_controller,
                                GType gtype,
                                GParameter *parameter,
                                guint n_params);

Creates an instance of gtype and passes parameter to g_object_newv()

Parameters

local_factory_controller

the AgsLocalFactoryController

 

gtype

the type name

 

parameter

the GParameter

 

n_params

the parameter count

 

Returns

the response

Since: 1.0.0


ags_local_factory_controller_new ()

AgsLocalFactoryController *
ags_local_factory_controller_new ();

Instantiate new AgsLocalFactoryController

Since: 1.0.0


AGS_IS_LOCAL_FACTORY_CONTROLLER()

#define AGS_IS_LOCAL_FACTORY_CONTROLLER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOCAL_FACTORY_CONTROLLER))

AGS_LOCAL_FACTORY_CONTROLLER()

#define AGS_LOCAL_FACTORY_CONTROLLER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOCAL_FACTORY_CONTROLLER, AgsLocalFactoryController))

AGS_LOCAL_FACTORY_CONTROLLER_CLASS()

#define AGS_LOCAL_FACTORY_CONTROLLER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LOCAL_FACTORY_CONTROLLER, AgsLocalFactoryControllerClass))

AGS_LOCAL_FACTORY_CONTROLLER_GET_CLASS()

#define AGS_LOCAL_FACTORY_CONTROLLER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LOCAL_FACTORY_CONTROLLER, AgsLocalFactoryControllerClass))

ags_local_factory_controller_get_type ()

GType
ags_local_factory_controller_get_type ();

Types and Values

AGS_LOCAL_FACTORY_CONTROLLER_CONTEXT_PATH

#define AGS_LOCAL_FACTORY_CONTROLLER_CONTEXT_PATH "/local-factory"

AGS_LOCAL_FACTORY_CONTROLLER_RESOURCE_CREATE_INSTANCE

#define AGS_LOCAL_FACTORY_CONTROLLER_RESOURCE_CREATE_INSTANCE "/create-instance"

AGS_TYPE_LOCAL_FACTORY_CONTROLLER

#define AGS_TYPE_LOCAL_FACTORY_CONTROLLER                (ags_local_factory_controller_get_type())

struct AgsLocalFactoryController

struct AgsLocalFactoryController;

struct AgsLocalFactoryControllerClass

struct AgsLocalFactoryControllerClass {
  AgsControllerClass controller;
  
  gpointer (*create_instance)(AgsLocalFactoryController *local_factory_controller,
			      GType gtype,
			      GParameter *parameter,
			      guint n_params);
};

Signal Details

The “create-instance” signal

gpointer
user_function (AgsLocalFactoryController *local_factory_controller,
               gulong                     type_name,
               gpointer                   parameter,
               guint                      n_params,
               gpointer                   user_data)

The ::create-instance signal is used to create an instance.

Parameters

local_factory_controller

the AgsLocalFactoryController

 

type_name

the type name

 

parameter

parameters to set as properties

 

n_params

the count of parameters

 

user_data

user data set when the signal handler was connected.

 

Returns

the response

Flags: Run Last

Since: 1.0.0