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,
                                guint n_params,
                                gchar **parameter_name,
                                GValue *value);

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

Parameters

local_factory_controller

the AgsLocalFactoryController

 

gtype

the type name

 

n_params

the parameter name and value count

 

parameter_name

the parameter names

 

value

the GValue array related to parameter names

 

Returns

the response

Since: 2.0.0


ags_local_factory_controller_new ()

AgsLocalFactoryController *
ags_local_factory_controller_new ();

Instantiate new AgsLocalFactoryController

Since: 2.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,
			      guint n_params, gchar **parameter_name, GValue *value);
};

Signal Details

The “create-instance” signal

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

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

Parameters

local_factory_controller

the AgsLocalFactoryController

 

type_name

the type name

 

n_params

the parameter name and value count

 

parameter_name

the parameter names

 

value

the GValue array related to parameter names

 

user_data

user data set when the signal handler was connected.

 

Returns

the response

Flags: Run Last

Since: 2.0.0