AgsRegistry

AgsRegistry — remote control registry

Functions

Properties

AgsServer * server Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRegistry

Implemented Interfaces

AgsRegistry implements AgsConnectable.

Includes

#include <ags/server/ags_registry.h>

Description

The AgsRegistry is a registry where you are able to lookup objects.

Functions

ags_registry_entry_alloc ()

AgsRegistryEntry *
ags_registry_entry_alloc ();

Allocated AgsRegistryEntry.

Returns

the newly allocated AgsRegistryEntry

Since: 1.0.0


ags_registry_entry_free ()

void
ags_registry_entry_free (AgsRegistryEntry *registry_entry);

Free registry_entry

Parameters

registry_entry

the AgsRegistryEntry

 

Since: 1.0.0


ags_registry_add_entry ()

void
ags_registry_add_entry (AgsRegistry *registry,
                        AgsRegistryEntry *registry_entry);

Add registry_entry to registry .

Parameters

registry

the AgsRegistry

 

registry_entry

the AgsRegistryEntry to add

 

Since: 1.0.0


ags_registry_find_entry ()

AgsRegistryEntry *
ags_registry_find_entry (AgsRegistry *registry,
                         gchar *id);

Find id as AgsRegistryEntry in registry .

Parameters

registry

the AgsRegistry

 

id

the id to find

 

Since: 1.0.0


ags_registry_new ()

AgsRegistry *
ags_registry_new ();

AGS_IS_REGISTRY()

#define AGS_IS_REGISTRY(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_REGISTRY))

AGS_REGISTRY()

#define AGS_REGISTRY(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REGISTRY, AgsRegistry))

AGS_REGISTRY_CLASS()

#define AGS_REGISTRY_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_REGISTRY, AgsRegistryClass))

AGS_REGISTRY_GET_CLASS()

#define AGS_REGISTRY_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_REGISTRY, AgsRegistryClass))

ags_registry_get_type ()

GType
ags_registry_get_type ();

Types and Values

AGS_REGISTRY_DEFAULT_ID_LENGTH

#define AGS_REGISTRY_DEFAULT_ID_LENGTH (36)

enum AgsRegistryFlags

Enum values to control the behavior or indicate internal state of AgsRegistry by enable/disable as flags.

Members

AGS_REGISTRY_CONNECTED

the registry was connected by AgsConnectable::connect()

 

AGS_REGISTRY_XML_DOCUMENT

//TODO:JK: implement me

 

AGS_REGISTRY_XML_RPC

//TODO:JK: implement me

 

AGS_REGISTRY_DIRTY

//TODO:JK: implement me

 

struct AgsRegistryEntry

struct AgsRegistryEntry {
  gchar *id;
  GValue entry;
};

AgsRegistryEntry is an entry that you might want to lookup remotely.

Members

gchar *id;

the id

 

GValue entry;

the actual entry

 

AGS_TYPE_REGISTRY

#define AGS_TYPE_REGISTRY                (ags_registry_get_type())

struct AgsRegistry

struct AgsRegistry;

struct AgsRegistryClass

struct AgsRegistryClass {
  GObjectClass object;
};

Property Details

The “server” property

  “server”                   AgsServer *

The assigned AgsServer

Flags: Read / Write

Since: 1.0.0