## RygelRootDeviceFactory RygelRootDeviceFactory — This is a factory to create RygelRootDevice objects for a given UPnP context. |

## Synopsis

    #define             RYGEL_TYPE_ROOT_DEVICE_FACTORY
    RygelRootDevice *   rygel_root_device_factory_create    (RygelRootDeviceFactory *self,
                                                             RygelPlugin *plugin,
                                                             GError **error);
    RygelRootDeviceFactory * rygel_root_device_factory_new  (GUPnPContext *context,
                                                             GError **error);
    GUPnPContext *      rygel_root_device_factory_get_context
                                                            (RygelRootDeviceFactory *self);
    struct              RygelRootDeviceFactory;
    struct              RygelRootDeviceFactoryClass;
    enum                RootDeviceFactoryError;

## Object Hierarchy

      GObject
       +----RygelRootDeviceFactory

## Implemented Interfaces

RygelRootDeviceFactory implements GInitable.

## Properties

      "context"                  GUPnPContext*         : Read / Write / Construct Only

## Description

Call `rygel_root_device_factory_create()` with a plugin to create a root device for the plugin.

## Details

### RYGEL_TYPE_ROOT_DEVICE_FACTORY

    #define RYGEL_TYPE_ROOT_DEVICE_FACTORY (rygel_root_device_factory_get_type ())

The type for RygelRootDeviceFactory.

### rygel_root_device_factory_create ()

    RygelRootDevice *   rygel_root_device_factory_create    (RygelRootDeviceFactory *self,
                                                             RygelPlugin *plugin,
                                                             GError **error);

`self` : | the RygelRootDeviceFactory instance
`error` : | location to store the error occuring, or `NULL` to ignore

### rygel_root_device_factory_new ()

    RygelRootDeviceFactory * rygel_root_device_factory_new  (GUPnPContext *context,
                                                             GError **error);

`error` : | location to store the error occuring, or `NULL` to ignore

### rygel_root_device_factory_get_context ()

    GUPnPContext *      rygel_root_device_factory_get_context
                                                            (RygelRootDeviceFactory *self);

Get and return the current value of the "context" property.

`self` : | the RygelRootDeviceFactory instance to query
Returns : | the value of the "context" property

### struct RygelRootDeviceFactory

    struct RygelRootDeviceFactory;

This is a factory to create RygelRootDevice objects for a given UPnP context.

Call `rygel_root_device_factory_create()` with a plugin to create a root device for the plugin.

### struct RygelRootDeviceFactoryClass

    struct RygelRootDeviceFactoryClass {
    	GObjectClass parent_class;
    };

The class structure for `RYGEL_TYPE_ROOT_DEVICE_FACTORY`. All the fields in this structure are private and should never be accessed directly.

GObjectClass `parent_class`; | the parent class structure

### enum RootDeviceFactoryError

    typedef enum {
    	ROOT_DEVICE_FACTORY_ERROR_XML_PARSE
    } RootDeviceFactoryError;

`ROOT_DEVICE_FACTORY_ERROR_XML_PARSE` |

## Property Details

### The `"context"` property

      "context"                  GUPnPContext*         : Read / Write / Construct Only

context.