TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DeliverySystemSet Class Reference

#include <tsDeliverySystem.h>

Inheritance diagram for ts::DeliverySystemSet:
Collaboration diagram for ts::DeliverySystemSet:

Public Types

using SuperClass = std::set<DeliverySystem>

Public Member Functions

bool contains (DeliverySystem ds) const
void insertAll (TunerType type)
DeliverySystem preferred () const
Standards standards () const
DeliverySystemList toList () const
virtual UString toString () const override

Detailed Description

A set of delivery system values (ts::DeliverySystem). Typically used to indicate the list of standards which are supported by a tuner.

Member Typedef Documentation

◆ SuperClass

Explicit reference to superclass.

Member Function Documentation

◆ contains()

bool ts::DeliverySystemSet::contains ( DeliverySystem ds) const
inline

Check if a delivery system is present in the set.

Parameters
[in]dsThe delivery system to check.
Returns
True if the specified delivery system is present.

◆ insertAll()

void ts::DeliverySystemSet::insertAll ( TunerType type)

Insert all delivery systems which are supported by a given tuner type.

Parameters
[in]typeTuner type

◆ preferred()

DeliverySystem ts::DeliverySystemSet::preferred ( ) const

Get the "preferred" delivery system in the set. This can be used as default delivery system for a tuner.

Returns
The "preferred" delivery system in the set.

◆ toList()

DeliverySystemList ts::DeliverySystemSet::toList ( ) const

Return the content of the set in decreasing order of preference.

Returns
A list of all delivery systems in the set, in decreasing order of preference.

◆ standards()

Standards ts::DeliverySystemSet::standards ( ) const

Get the list of standards for the set of delivery systems.

Returns
Corresponding standards.

◆ toString()

virtual UString ts::DeliverySystemSet::toString ( ) const
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.


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