TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::UID Class Reference

A singleton which generates 64-bit UID, unique integer. More...

#include <tsUID.h>

Public Member Functions

uint64_t newUID ()
 Generate a new UID.
 

Static Public Member Functions

static UIDInstance ()
 Get the instance of the singleton of this class.
 

Detailed Description

A singleton which generates 64-bit UID, unique integer.

Member Function Documentation

◆ Instance()

static UID & ts::UID::Instance ( )
inlinestatic

Get the instance of the singleton of this class.

Returns
The instance of the singleton of this class.

◆ newUID()

uint64_t ts::UID::newUID ( )

Generate a new UID.

Returns
A new unique 64-bit value.

The documentation for this class was generated from the following file: