AgsTimestampFactory

AgsTimestampFactory — Factory pattern

Synopsis

#include <ags/audio/ags_timestamp_factory.h>

struct              AgsTimestampFactory;
struct              AgsTimestampFactoryClass;
enum                AgsTimestampFactoryFlags;
AgsTimestamp *      ags_timestamp_factory_create        (AgsTimestampFactory *timestamp_factory,
                                                         AgsTimestamp *predecor);
AgsTimestampFactory * ags_timestamp_factory_get_instance
                                                        ();
AgsTimestampFactory * ags_timestamp_factory_new         ();

Description

AgsTimestampFactory pattern.

Details

struct AgsTimestampFactory

struct AgsTimestampFactory {
  GObject object;

  guint flags;

  GList *timestamp;
};

struct AgsTimestampFactoryClass

struct AgsTimestampFactoryClass {
  GObjectClass object;
  
  AgsTimestamp* (*create)(AgsTimestampFactory *timestamp_factory,
			  AgsTimestamp *predecor);
};

enum AgsTimestampFactoryFlags

typedef enum {
  AGS_TIMESTAMP_FACTORY_UNIX      = 1,
} AgsTimestampFactoryFlags;

ags_timestamp_factory_create ()

AgsTimestamp *      ags_timestamp_factory_create        (AgsTimestampFactory *timestamp_factory,
                                                         AgsTimestamp *predecor);

ags_timestamp_factory_get_instance ()

AgsTimestampFactory * ags_timestamp_factory_get_instance
                                                        ();

ags_timestamp_factory_new ()

AgsTimestampFactory * ags_timestamp_factory_new         ();

Creates an AgsTimestampFactory

Returns :

a new AgsTimestampFactory

Since 0.4