Go to the source code of this file.
|
typedef typedefHT_DECLS_BEGIN struct _HT_EventIdProvider | HT_EventIdProvider |
| HT_EventIdProvider is a sequence number generator. More...
|
|
◆ HT_EventIdProvider
HT_EventIdProvider is a sequence number generator.
It starts the sequence from 0. Every next call of ht_event_id_provider_next() increments the identifier.
◆ ht_event_id_provider_create()
Creates a new instance of an ID provider.
- Returns
- a pointer to the new ID provider.
◆ ht_event_id_provider_destroy()
Destroys a provider.
- Parameters
-
provider | a provider to destroy. |
◆ ht_event_id_provider_get_default()
Gets default provider.
Default ID provider is currently used for all the timelines.
- Returns
- a pointer to the default ID provider.
◆ ht_event_id_provider_next()
Gets next identifier.
- Parameters
-
- Returns
- next identifier from the
provider
.