AgsTimestamp

AgsTimestamp — Timestamp unix and alike

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTimestamp

Includes

#include <ags/thread/ags_timestamp.h>

Description

AgsTimestamp measure of time.

Functions

ags_timestamp_new ()

AgsTimestamp *
ags_timestamp_new ();

Creates an AgsTimestamp

Returns

a new AgsTimestamp

Since: 1.0.0


AGS_IS_TIMESTAMP()

#define AGS_IS_TIMESTAMP(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP))

AGS_TIMESTAMP()

#define AGS_TIMESTAMP(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP, AgsTimestamp))

AGS_TIMESTAMP_CLASS()

#define AGS_TIMESTAMP_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMESTAMP, AgsTimestampClass))

AGS_TIMESTAMP_GET_CLASS()

#define AGS_TIMESTAMP_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TIMESTAMP, AgsTimestampClass))

ags_timestamp_get_type ()

GType
ags_timestamp_get_type (void);

Types and Values

enum AgsTimestampFlags

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

Members

AGS_TIMESTAMP_UNIX

unix timestamp is used

 

AGS_TIMESTAMP_OFFSET

internal offset is used

 

AGS_TIMESTAMP_OUTDATED

the timestamp is outdated

 

AGS_TYPE_TIMESTAMP

#define AGS_TYPE_TIMESTAMP                (ags_timestamp_get_type())

struct AgsTimestamp

struct AgsTimestamp;

struct AgsTimestampClass

struct AgsTimestampClass {
  GObjectClass object;
};