AgsLv2LogManager

AgsLv2LogManager — allow lv2 plugins to log

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLv2LogManager

Implemented Interfaces

AgsLv2LogManager implements AgsConnectable.

Includes

#include <ags/plugin/ags_lv2_log_manager.h>

Description

The AgsLv2LogManager handles console IO.

Functions

ags_lv2_log_manager_printf ()

int
ags_lv2_log_manager_printf (LV2_Log_Handle handle,
                            LV2_URID type,
                            const char *fmt,
                            ...);

Print formatted.

Parameters

handle

the log handle

 

type

LV2 URID

 

fmt

format

 

...

NULL terminated variable arguments

 

Returns

0


ags_lv2_log_manager_vprintf ()

int
ags_lv2_log_manager_vprintf (LV2_Log_Handle handle,
                             LV2_URID type,
                             const char *fmt,
                             va_list ap);

Variadict print formatted.

Parameters

handle

the log handle

 

type

LV2 URID

 

fmt

format

 

ap

argument pointer

 

Returns

0

Since: 1.0.0


ags_lv2_log_manager_get_instance ()

AgsLv2LogManager *
ags_lv2_log_manager_get_instance ();

Singleton function to optain the id manager instance.

Returns

an instance of AgsLv2LogManager

Since: 1.0.0


ags_lv2_log_manager_new ()

AgsLv2LogManager *
ags_lv2_log_manager_new ();

Instantiate a id manager.

Returns

a new AgsLv2LogManager

Since: 1.0.0


AGS_IS_LV2_LOG_MANAGER()

#define AGS_IS_LV2_LOG_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LV2_LOG_MANAGER))

AGS_LV2_LOG_MANAGER()

#define AGS_LV2_LOG_MANAGER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LV2_LOG_MANAGER, AgsLv2LogManager))

AGS_LV2_LOG_MANAGER_CLASS()

#define AGS_LV2_LOG_MANAGER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LV2_LOG_MANAGER, AgsLv2LogManagerClass))

AGS_LV2_LOG_MANAGER_GET_CLASS()

#define AGS_LV2_LOG_MANAGER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LV2_LOG_MANAGER, AgsLv2LogManagerClass))

ags_lv2_log_manager_get_type ()

GType
ags_lv2_log_manager_get_type (void);

Types and Values

AGS_TYPE_LV2_LOG_MANAGER

#define AGS_TYPE_LV2_LOG_MANAGER                (ags_lv2_log_manager_get_type())

struct AgsLv2LogManager

struct AgsLv2LogManager;

struct AgsLv2LogManagerClass

struct AgsLv2LogManagerClass {
  GObjectClass gobject;
};