![]() |
TSDuck v3.46-4965
MPEG Transport Stream Toolkit
|
#include <tsChannelFile.h>
Public Member Functions | |
| Network (uint16_t net=0, TunerType typ=TT_UNDEFINED) | |
| void | clear () |
| TransportStreamPtr | tsById (uint16_t id) const |
| TransportStreamPtr | tsByIndex (size_t index) const |
| size_t | tsCount () const |
| TransportStreamPtr | tsGetOrCreate (uint16_t id) |
Public Attributes | |
| uint16_t | id |
| Network Id. | |
| TunerType | type |
| Tuner type (a subset of delivery system). | |
Description of one network.
|
inline |
|
inline |
Clear all transport streams.
|
inline |
Get the number of transport streams in the network.
| TransportStreamPtr ts::ChannelFile::Network::tsByIndex | ( | size_t | index | ) | const |
Get a transport stream by index in the network.
| [in] | index | TS index, from 0 to tsCount()-1. |
| TransportStreamPtr ts::ChannelFile::Network::tsById | ( | uint16_t | id | ) | const |
Get a transport stream by id in the network.
| [in] | id | TS identifier. |
| TransportStreamPtr ts::ChannelFile::Network::tsGetOrCreate | ( | uint16_t | id | ) |
Get or create a transport stream by id in the network.
| [in] | id | TS identifier. |