Namespaces
Namespaces
Updated on 2022-06-22 at 16:53:25 +0200
1 - AclLog
AclLog
A namespace for logging utilities.
Types
| Name |
---|
enum class | Level { kTrace, kDebug, kInfo, kWarning, kError, kCritical, kOff} Log levels. |
Functions
| Name |
---|
void | init(const std::string & name) Initialize logging. |
void | setLevel(Level level) Set global logging level. |
Types Documentation
enum Level
Enumerator | Value | Description |
---|
kTrace | | |
kDebug | | |
kInfo | | |
kWarning | | |
kError | | |
kCritical | | |
kOff | | |
Log levels.
Functions Documentation
function init
void init(
const std::string & name
)
Initialize logging.
Parameters:
- name The name of the component (used for log prefix and filename)
By default two sinks are created. The first sink writes messages to the console. The second sink attempts to create a log file in the path set by the environment variable ACL_LOG_PATH (’/tmp’ if unset). The name of the log file is ’name.log’. The default logging level is ‘info’ (‘debug’ for debug builds) and can be changed by setting the ACL_LOG_LEVEL environment variable.
function setLevel
void setLevel(
Level level
)
Set global logging level.
Parameters:
- level Logging level to set
Updated on 2022-06-22 at 16:53:25 +0200
2 - AlignedData
AlignedData
Classes
| Name |
---|
struct | AlignedData::DataFrame A frame of aligned data that is passed to the rendering engine from the MediaReceiver. A DataFrame contains a time stamped frame of media, which might be video, audio and auxiliary data such as subtitles. A single DataFrame can contain one or multiple types of media. Which media types are included can be probed by nullptr-checking/size checking the data members. The struct has ownership of all data pointers included. The struct includes all logic for freeing the resources held by this struct and the user should therefore just make sure the struct itself is deallocated to ensure all resources are freed. |
Types
Types Documentation
Enumerator | Value | Description |
---|
kAvc | | |
kHevc | | |
Enumerator | Value | Description |
---|
kUnknown | | |
kNv12 | | |
kP016 | | |
kUyvy | | |
kRgba | | |
kRgba64Le | | |
typedef AudioSampleRow
typedef std::array<float, 16> AlignedData::AudioSampleRow;
One audio sample in 16 channels.
Updated on 2022-06-22 at 16:53:25 +0200
3 - ControlDataCommon
ControlDataCommon
Classes
Types
| Name |
---|
enum class | ConnectionType { CONNECTED, DISCONNECTED} The connection types. |
Types Documentation
enum ConnectionType
Enumerator | Value | Description |
---|
CONNECTED | | |
DISCONNECTED | | |
The connection types.
Updated on 2022-06-22 at 16:53:25 +0200
4 - IngestUtils
IngestUtils
Functions
Functions Documentation
function isRunningWithRootPrivileges
bool isRunningWithRootPrivileges()
Return: true if this application is executing with root privileges, false otherwise
Updated on 2022-06-22 at 16:53:25 +0200
5 - TimeCommon
TimeCommon
Classes
Types
| Name |
---|
enum class | StratumLevel { UnknownStratum, stratum0, stratum1, stratum2, stratum3, stratum4} |
Functions
Types Documentation
enum StratumLevel
Enumerator | Value | Description |
---|
UnknownStratum | | |
stratum0 | | |
stratum1 | | |
stratum2 | | |
stratum3 | | |
stratum4 | | |
Functions Documentation
function getMonotonicClockMicro
uint64_t getMonotonicClockMicro()
Get current time since epoch.
Return: Return current time since epoch in microseconds
function getStatus
TimeCommon::TAIStatus getStatus()
Get TAI status.
Return: Return the TAI status
function getTAIMicro
Get current TAI time.
Return: Return current TAI time in microseconds
Updated on 2022-06-22 at 16:53:25 +0200
6 - UUIDUtils
UUIDUtils
A namespace for UUID utility functions.
Functions
Functions Documentation
function generateRandomUUID
std::string generateRandomUUID()
Generates a completely randomized UUID string.
Return: A random generated UUID string
function isValidUUIDString
bool isValidUUIDString(
const std::string & uuid
)
Checks if a string is a valid UUID string.
Parameters:
Return: True if uuid is a valid UUID string, otherwise false
Updated on 2022-06-22 at 16:53:25 +0200