krähemann.com

AgsOscActionController

AgsOscActionController — OSC action controller

Signals

gpointer run-action Run Last

Object Hierarchy

    GObject
    ╰── AgsOscController
        ╰── AgsOscActionController

Includes

#include <ags/audio/osc/controller/ags_osc_action_controller.h>

Description

The AgsOscActionController implements the OSC action controller.

Functions

ags_osc_action_controller_run_action ()

gpointer
ags_osc_action_controller_run_action (AgsOscActionController *osc_action_controller,
                                      AgsOscConnection *osc_connection,
                                      unsigned char *message,
                                      guint message_size);

Run action.

Parameters

osc_action_controller

the AgsOscActionController

 

osc_connection

the AgsOscConnection

 

message

the message received

 

message_size

the message size

 

Returns

the GList containing AgsOscResponse

Since: 3.0.0


ags_osc_action_controller_new ()

AgsOscActionController *
ags_osc_action_controller_new ();

Instantiate new AgsOscActionController

Since: 3.0.0


AGS_IS_OSC_ACTION_CONTROLLER()

#define AGS_IS_OSC_ACTION_CONTROLLER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_OSC_ACTION_CONTROLLER))

AGS_IS_OSC_ACTION_CONTROLLER_CLASS()

#define AGS_IS_OSC_ACTION_CONTROLLER_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OSC_ACTION_CONTROLLER))

AGS_OSC_ACTION_CONTROLLER()

#define AGS_OSC_ACTION_CONTROLLER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OSC_ACTION_CONTROLLER, AgsOscActionController))

AGS_OSC_ACTION_CONTROLLER_CLASS()

#define AGS_OSC_ACTION_CONTROLLER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSC_ACTION_CONTROLLER, AgsOscActionControllerClass))

AGS_OSC_ACTION_CONTROLLER_GET_CLASS()

#define AGS_OSC_ACTION_CONTROLLER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_OSC_ACTION_CONTROLLER, AgsOscActionControllerClass))

ags_osc_action_controller_get_type ()

GType
ags_osc_action_controller_get_type ();

Types and Values

AGS_TYPE_OSC_ACTION_CONTROLLER

#define AGS_TYPE_OSC_ACTION_CONTROLLER                (ags_osc_action_controller_get_type())

struct AgsOscActionController

struct AgsOscActionController;

struct AgsOscActionControllerClass

struct AgsOscActionControllerClass {
  AgsOscControllerClass osc_controller;

  gpointer (*run_action)(AgsOscActionController *osc_action_controller,
			 AgsOscConnection *osc_connection,
			 unsigned char *message, guint message_size);
};

Signal Details

The “run-action” signal

gpointer
user_function (AgsOscActionController *osc_action_controller,
               GObject                *osc_connection,
               gpointer                message,
               guint                   message_size,
               gpointer                user_data)

The ::run-action signal is emited during get data of action controller.

Parameters

osc_action_controller

the AgsOscActionController

 

osc_connection

the AgsOscConnection

 

message

the message received

 

message_size

the message size

 

user_data

user data set when the signal handler was connected.

 

Returns

the AgsOscResponse

Flags: Run Last

Since: 3.0.0