## RygelRootDevice RygelRootDevice — This represents a UPnP root device. |

## Synopsis

    #define             RYGEL_TYPE_ROOT_DEVICE
    RygelRootDevice *   rygel_root_device_new               (GUPnPContext *context,
                                                             RygelPlugin *plugin,
                                                             GUPnPXMLDoc *description_doc,
                                                             const gchar *description_path,
                                                             const gchar *description_dir);
    GeeArrayList *      rygel_root_device_get_services      (RygelRootDevice *self);
    struct              RygelRootDevice;
    struct              RygelRootDeviceClass;

## Object Hierarchy

      GObject
       +----GUPnPDeviceInfo
             +----GUPnPDevice
                   +----GUPnPRootDevice
                         +----RygelRootDevice

## Properties

      "services"                 GeeArrayList*         : Read / Write

## Description

Each Rygel plugin corresponds to one UPnP root device, so each RygelPlugin corresponds to one RygelRootDevice.

Rygel creates the RygelRootDevice by calling `rygel_root_device_factory_create()` with the plugin, having first instantiated the RygelRootDeviceFactory for a GUPnPContext.

## Details

### RYGEL_TYPE_ROOT_DEVICE

    #define RYGEL_TYPE_ROOT_DEVICE (rygel_root_device_get_type ())

The type for RygelRootDevice.

### rygel_root_device_new ()

    RygelRootDevice *   rygel_root_device_new               (GUPnPContext *context,
                                                             RygelPlugin *plugin,
                                                             GUPnPXMLDoc *description_doc,
                                                             const gchar *description_path,
                                                             const gchar *description_dir);

### rygel_root_device_get_services ()

    GeeArrayList *      rygel_root_device_get_services      (RygelRootDevice *self);

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

`self` : | the RygelRootDevice instance to query
Returns : | the value of the "services" property

### struct RygelRootDevice

    struct RygelRootDevice;

This represents a UPnP root device.

Each Rygel plugin corresponds to one UPnP root device, so each RygelPlugin corresponds to one RygelRootDevice.

Rygel creates the RygelRootDevice by calling `rygel_root_device_factory_create()` with the plugin, having first instantiated the RygelRootDeviceFactory for a GUPnPContext.

### struct RygelRootDeviceClass

    struct RygelRootDeviceClass {
    	GUPnPRootDeviceClass parent_class;
    };

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

GUPnPRootDeviceClass `parent_class`; | the parent class structure

## Property Details

### The `"services"` property

      "services"                 GeeArrayList*         : Read / Write

services.