TSDuck Version 3.24-2000 (TSDuck - The MPEG Transport Stream Toolkit)
ts::SpliceSegmentationDescriptor Class Reference

Representation of an SCTE 35 segmentation_descriptor (SIT specific). More...

Inheritance diagram for ts::SpliceSegmentationDescriptor:
Collaboration diagram for ts::SpliceSegmentationDescriptor:

Public Types

typedef std::map< uint8_t, uint64_t > PTSOffsetByComponent
 A map of 33-bit PTS offset values, indexed by 8-bit component tags.
 

Public Member Functions

 SpliceSegmentationDescriptor ()
 Default constructor.
 
 SpliceSegmentationDescriptor (DuckContext &duck, const Descriptor &bin)
 Constructor from a binary descriptor. More...
 
virtual void clear ()
 This method clears the content of the table or descriptor. More...
 
virtual Standards definingStandards () const override
 Get the list of standards which define this object. More...
 
bool deliveryNotRestricted () const
 Rebuild the delivery_not_restricted flag. More...
 
virtual void deserialize (DuckContext &, const Descriptor &) override
 This method deserializes a binary descriptor. More...
 
void deserialize (DuckContext &duck, const DescriptorList &dlist, size_t index)
 Deserialize a descriptor from a descriptor list. More...
 
virtual DID extendedTag () const
 For MPEG-defined and DVB-defined extension descriptors, get the extended descriptor tag (first byte in payload). More...
 
void fromXML (DuckContext &duck, const xml::Element *element)
 This method converts an XML structure to a table or descriptor in this object. More...
 
void invalidate ()
 Invalidate this object. More...
 
bool isPrivateDescriptor () const
 Check if this descriptor is a private descriptor. More...
 
bool isValid () const
 Check if this object is valid. More...
 
PDS requiredPDS () const
 Get the required private data specifier. More...
 
virtual void serialize (DuckContext &, Descriptor &) const override
 This method serializes a descriptor. More...
 
DID tag () const
 Get the descriptor tag. More...
 
xml::ElementtoXML (DuckContext &duck, xml::Element *parent) const
 This method converts this object to XML. More...
 
UString xmlName () const
 Get the XMl node name representing this table or descriptor. More...
 

Static Public Member Functions

static void DisplayDescriptor (ts::TablesDisplay &display, ts::PSIBuffer &payload, const ts::UString &margin, ts::DID did, ts::TID tid, ts::PDS pds)
 Static method to display a descriptor. More...
 

Public Attributes

bool archive_allowed
 When true, recording is allowed.
 
uint8_t device_restrictions
 2 bits code
 
uint32_t identifier
 Descriptor owner, 0x43554549 (“CUEI”).
 
bool no_regional_blackout
 When true, no regional blackout is applied.
 
bool program_segmentation
 When true, all components are segmented.
 
PTSOffsetByComponent pts_offsets
 PTS offsets, indexed by component tag.
 
uint8_t segment_num
 Segment number.
 
Variable< uint64_t > segmentation_duration
 40 bits, in PTS units.
 
bool segmentation_event_cancel
 When true, event is canceled, other fields are ignored.
 
uint32_t segmentation_event_id
 Event id.
 
uint8_t segmentation_type_id
 Segmentation type.
 
ByteBlock segmentation_upid
 Segmentation upid value.
 
uint8_t segmentation_upid_type
 Segmentation upid type.
 
uint8_t segments_expected
 Expected number of segments.
 
uint8_t sub_segment_num
 Sub-segment number (if segmentation_type_id == 0x34 or 0x36).
 
uint8_t sub_segments_expected
 Expected number of sub-segments (if segmentation_type_id == 0x34 or 0x36).
 
bool web_delivery_allowed
 When true, web delivery is allowed.
 

Static Public Attributes

static const UChar *const XML_GENERIC_DESCRIPTOR
 XML tag name for generic descriptors.
 
static const UChar *const XML_GENERIC_LONG_TABLE
 XML tag name for generic tables with long sections.
 
static const UChar *const XML_GENERIC_SHORT_TABLE
 XML tag name for generic short sections.
 

Protected Member Functions

virtual bool analyzeXML (DuckContext &, const xml::Element *) override
 Helper method to convert this object from XML. More...
 
virtual void buildXML (DuckContext &, xml::Element *) const override
 Helper method to convert this object to XML. More...
 
virtual void clearContent () override
 Helper method to clear the content of the table or descriptor. More...
 
virtual void deserializePayload (PSIBuffer &buf)
 Deserialize the payload of the descriptor. More...
 
virtual void serializePayload (PSIBuffer &buf) const
 Serialize the payload of the descriptor. More...
 

Protected Attributes

bool _is_valid
 It is the responsibility of the subclasses to set the valid flag.
 

Detailed Description

Representation of an SCTE 35 segmentation_descriptor (SIT specific).

This descriptor cannot be present in other tables than an Splice Information Table (SIT) because its tag reuses an MPEG-defined one.

See also
SCTE 35, 10.3.3

Constructor & Destructor Documentation

◆ SpliceSegmentationDescriptor()

ts::SpliceSegmentationDescriptor::SpliceSegmentationDescriptor ( DuckContext duck,
const Descriptor bin 
)

Constructor from a binary descriptor.

Parameters
[in,out]duckTSDuck execution context.
[in]binA binary descriptor to deserialize.

Member Function Documentation

◆ deliveryNotRestricted()

bool ts::SpliceSegmentationDescriptor::deliveryNotRestricted ( ) const

Rebuild the delivery_not_restricted flag.

Returns
Value of the delivery_not_restricted flag.

◆ serialize()

virtual void ts::SpliceSegmentationDescriptor::serialize ( DuckContext duck,
Descriptor bin 
) const
overridevirtual

This method serializes a descriptor.

The subclass shall preferably override serializePayload(). As legacy, the subclass may directly override serialize() but this is not recommended for new descriptors. At some point, if we can refactor all descriptors to the new scheme using serializePayload() (which seems unlikely), serialize() will become "final" and will no longer allow override.

Parameters
[in,out]duckTSDuck execution context.
[out]binA binary descriptor object. Its content is replaced with a binary representation of this descriptor.

Reimplemented from ts::AbstractDescriptor.

◆ deserialize() [1/2]

virtual void ts::SpliceSegmentationDescriptor::deserialize ( DuckContext duck,
const Descriptor bin 
)
overridevirtual

This method deserializes a binary descriptor.

The subclass shall preferably override deserializePayload(). As legacy, the subclass may directly override deserialize() but this is not recommended for new descriptors. At some point, if we can refactor all descriptors to the new scheme using deserializePayload() (which seems unlikely), deserialize() will become "final" and will no longer allow override.

Parameters
[in,out]duckTSDuck execution context.
[in]binA binary descriptor to interpret according to the descriptor subclass. In case of success, this object is replaced with the interpreted content of bin. In case of error, this object is invalidated.

Reimplemented from ts::AbstractDescriptor.

◆ DisplayDescriptor()

static void ts::SpliceSegmentationDescriptor::DisplayDescriptor ( ts::TablesDisplay display,
ts::PSIBuffer payload,
const ts::UString margin,
ts::DID  did,
ts::TID  tid,
ts::PDS  pds 
)
static

Static method to display a descriptor.

Parameters
[in,out]displayDisplay engine.
[in,out]payloadA PSIBuffer over the payload.
[in]marginLeft margin content.
[in]didDescriptor id.
[in]tidTable id of table containing the descriptors.
[in]pdsPrivate Data Specifier.

◆ clearContent()

virtual void ts::SpliceSegmentationDescriptor::clearContent ( )
overrideprotectedvirtual

Helper method to clear the content of the table or descriptor.

It is called by clear(). In clearContent(), the subclass shall simply revert the value of all fields to their original values in the default constructor.

Implements ts::AbstractSignalization.

◆ buildXML()

virtual void ts::SpliceSegmentationDescriptor::buildXML ( DuckContext duck,
xml::Element root 
) const
overrideprotectedvirtual

Helper method to convert this object to XML.

It is called by toXML() only when the object is valid. The root element is already built with the appropriate XML node name. In buildXML(), the subclass shall simply populate the XML node.

Parameters
[in,out]rootThe root node for the new XML tree.
[in,out]duckTSDuck execution context.

Implements ts::AbstractSignalization.

◆ analyzeXML()

virtual bool ts::SpliceSegmentationDescriptor::analyzeXML ( DuckContext duck,
const xml::Element element 
)
overrideprotectedvirtual

Helper method to convert this object from XML.

It is called by fromXML() after checking the validity of the XML node name. In analyzeXML(), the subclass shall populate the C++ object from the content of the XML node. If analyzeXML() returns false, this table or descriptor object is then invalidated and cleared.

Parameters
[in,out]duckTSDuck execution context.
[in]elementXML element to convert.
Returns
True if the analysis is correct, false otherwise.

Implements ts::AbstractSignalization.

◆ tag()

DID ts::AbstractDescriptor::tag ( ) const
inlineinherited

Get the descriptor tag.

Returns
The descriptor tag.

◆ extendedTag()

◆ requiredPDS()

PDS ts::AbstractDescriptor::requiredPDS ( ) const
inlineinherited

Get the required private data specifier.

Returns
The private data specifier which is required to interpret correctly this descriptor in a section. Return zero if this descriptor is a DVB-defined or MPEG-defined descriptor, not a private specifier.

◆ isPrivateDescriptor()

bool ts::AbstractDescriptor::isPrivateDescriptor ( ) const
inlineinherited

Check if this descriptor is a private descriptor.

Returns
True if this descriptor is a private descriptor, false if it is a DVB-defined or MPEG-defined descriptor.

◆ deserialize() [2/2]

void ts::AbstractDescriptor::deserialize ( DuckContext duck,
const DescriptorList dlist,
size_t  index 
)
inherited

Deserialize a descriptor from a descriptor list.

In case of success, this object is replaced with the interpreted content of the binary descriptor. In case of error, this object is invalidated.

Parameters
[in,out]duckTSDuck execution context.
[in]dlistA list of binary descriptors.
[in]indexIndex of the descriptor to deserialize in dlist.

◆ serializePayload()

virtual void ts::AbstractDescriptor::serializePayload ( PSIBuffer buf) const
protectedvirtualinherited

Serialize the payload of the descriptor.

This is now the preferred method for descriptor serialization: use the default implementation of serialize() and let it call the overridden serializePayload().

The default implementation generates an error. So, if a subclass overrides neither serialize() not serializePayload(), all serialization will fail.

Parameters
[in,out]bufSerialization buffer. The subclass shall write the descriptor payload into buf. If any kind of error is reported in the buffer, the serialization is considered as invalid and the binary descriptor is invalid. Such errors include write error, such as attempting to write more data than allowed in a binary descriptor or any user-generated error using ts::Buffer::setUserError(). For "extended descriptors", the buffer starts after the "extension tag" which was already written by the caller.

Reimplemented in ts::TeletextDescriptor, ts::LinkageDescriptor, ts::SSULinkageDescriptor, ts::SHDeliverySystemDescriptor, ts::VBIDataDescriptor, ts::NorDigLogicalChannelDescriptorV2, ts::ContentDescriptor, ts::CADescriptor, ts::ExtendedEventDescriptor, ts::SatelliteDeliverySystemDescriptor, ts::SSUDataBroadcastIdDescriptor, ts::ServiceListDescriptor, ts::T2DeliverySystemDescriptor, ts::ISO639LanguageDescriptor, ts::ParentalRatingDescriptor, ts::SubtitlingDescriptor, ts::NetworkChangeNotifyDescriptor, ts::AbstractLogicalChannelDescriptor, ts::MVCOperationPointDescriptor, ts::CellListDescriptor, ts::ExternalApplicationAuthorizationDescriptor, ts::DIILocationDescriptor, ts::SkyLogicalChannelNumberDescriptor, ts::ApplicationRecordingDescriptor, ts::EutelsatChannelNumberDescriptor, ts::DTSHDDescriptor, ts::DTGServiceAttributeDescriptor, ts::EASInbandExceptionChannelsDescriptor, ts::NorDigLogicalChannelDescriptorV1, ts::S2XSatelliteDeliverySystemDescriptor, ts::TargetIPSourceSlashDescriptor, ts::TargetIPv6SourceSlashDescriptor, ts::CellFrequencyLinkDescriptor, ts::AudioPreselectionDescriptor, ts::ServiceLocationDescriptor, ts::ATSCTimeShiftedServiceDescriptor, ts::CaptionServiceDescriptor, ts::EventGroupDescriptor, ts::NVODReferenceDescriptor, ts::ApplicationSignallingDescriptor, ts::C2BundleDeliverySystemDescriptor, ts::LocalTimeOffsetDescriptor, ts::TargetIPSlashDescriptor, ts::TargetIPv6SlashDescriptor, ts::EASAudioFileDescriptor, ts::FMCDescriptor, ts::TargetMACAddressRangeDescriptor, ts::AbstractMultilingualDescriptor, ts::AbstractPreferredNameListDescriptor, ts::VirtualSegmentationDescriptor, ts::ApplicationDescriptor, ts::ExtendedBroadcasterDescriptor, ts::MosaicDescriptor, ts::AnnouncementSupportDescriptor, ts::MPEGH3DAudioMultiStreamDescriptor, ts::MultilingualServiceNameDescriptor, ts::ContentAdvisoryDescriptor, ts::DigitalCopyControlDescriptor, ts::FrequencyListDescriptor, ts::SIPrimeTSDescriptor, ts::TargetRegionNameDescriptor, ts::TVAIdDescriptor, ts::ShortEventDescriptor, ts::TargetRegionDescriptor, ts::SIParameterDescriptor, ts::ServiceGroupDescriptor, ts::VideoDepthRangeDescriptor, ts::ATSCEAC3AudioDescriptor, ts::ContentIdentifierDescriptor, ts::HEVCVideoDescriptor, ts::AreaBroadcastingInformationDescriptor, ts::ATSCAC3AudioStreamDescriptor, ts::DVBEnhancedAC3Descriptor, ts::EmergencyInformationDescriptor, ts::CountryAvailabilityDescriptor, ts::DataBroadcastIdDescriptor, ts::TargetIPAddressDescriptor, ts::TargetIPv6AddressDescriptor, ts::TelephoneDescriptor, ts::SpliceDTMFDescriptor, ts::TargetMACAddressDescriptor, ts::AbstractPreferredNameIdentifierDescriptor, ts::AVCVideoDescriptor, ts::DVBAC3Descriptor, ts::ImageIconDescriptor, ts::J2KVideoDescriptor, ts::MessageDescriptor, ts::MetadataDescriptor, ts::StreamEventDescriptor, ts::TerrestrialDeliverySystemDescriptor, ts::AudioComponentDescriptor, ts::MetadataPointerDescriptor, ts::ApplicationStorageDescriptor, ts::IPMACGenericStreamLocationDescriptor, ts::ContentLabellingDescriptor, ts::DTGGuidanceDescriptor, ts::GreenExtensionDescriptor, ts::HEVCHierarchyExtensionDescriptor, ts::HierarchyDescriptor, ts::IPMACStreamLocationDescriptor, ts::SpliceTimeDescriptor, ts::SSUEnhancedMessageDescriptor, ts::TargetSmartcardDescriptor, ts::AVCTimingAndHRDDescriptor, ts::C2DeliverySystemDescriptor, ts::CueIdentifierDescriptor, ts::DTSDescriptor, ts::GraphicsConstraintsDescriptor, ts::HEVCTimingAndHRDDescriptor, ts::IPMACPlatformNameDescriptor, ts::IPMACPlatformProviderNameDescriptor, ts::SSUMessageDescriptor, ts::TargetSerialNumberDescriptor, ts::UpdateDescriptor, ts::VideoStreamDescriptor, ts::ApplicationIconsDescriptor, ts::CAIdentifierDescriptor, ts::ComponentDescriptor, ts::DVBJApplicationLocationDescriptor, ts::EASInbandDetailsChannelDescriptor, ts::EASMetadataDescriptor, ts::ISPAccessModeDescriptor, ts::MaximumBitrateDescriptor, ts::PartialTransportStreamDescriptor, ts::ServiceAvailabilityDescriptor, ts::ServiceDescriptor, ts::SSUEventNameDescriptor, ts::SSULocationDescriptor, ts::SSUURIDescriptor, ts::ApplicationUsageDescriptor, ts::ContentAvailabilityDescriptor, ts::CPDescriptor, ts::DataContentDescriptor, ts::DTGShortServiceNameDescriptor, ts::DVBAC4Descriptor, ts::DVBHTMLApplicationBoundaryDescriptor, ts::DVBHTMLApplicationDescriptor, ts::DVBHTMLApplicationLocationDescriptor, ts::HybridInformationDescriptor, ts::IPSignallingDescriptor, ts::ISDBAccessControlDescriptor, ts::NodeRelationDescriptor, ts::S2SatelliteDeliverySystemDescriptor, ts::SpliceAvailDescriptor, ts::SupplementaryAudioDescriptor, ts::AACDescriptor, ts::CableDeliverySystemDescriptor, ts::CAContractInfoDescriptor, ts::DataBroadcastDescriptor, ts::DVBJApplicationDescriptor, ts::EacemStreamIdentifierDescriptor, ts::ISDBTerrestrialDeliverySystemDescriptor, ts::MPEGH3DAudioDescriptor, ts::SimpleApplicationBoundaryDescriptor, ts::SimpleApplicationLocationDescriptor, ts::T2MIDescriptor, ts::URILinkageDescriptor, ts::AssociationTagDescriptor, ts::AudioStreamDescriptor, ts::CAEMMTSDescriptor, ts::CAServiceDescriptor, ts::DeferredAssociationTagsDescriptor, ts::DSNGDescriptor, ts::FlexMuxTimingDescriptor, ts::FTAContentManagementDescriptor, ts::PDCDescriptor, ts::RegistrationDescriptor, ts::ServiceIdentifierDescriptor, ts::ServiceRelocatedDescriptor, ts::SystemManagementDescriptor, ts::BouquetNameDescriptor, ts::ConditionalPlaybackDescriptor, ts::DCCArrivingRequestDescriptor, ts::DCCDepartingRequestDescriptor, ts::DTSNeuralDescriptor, ts::ECMRepetitionRateDescriptor, ts::IBPDescriptor, ts::MPEG2AACAudioDescriptor, ts::NetworkNameDescriptor, ts::ServiceMoveDescriptor, ts::ShortNodeInformationDescriptor, ts::ShortSmoothingBufferDescriptor, ts::StreamModeDescriptor, ts::SystemClockDescriptor, ts::TransportStreamDescriptor, ts::VideoWindowDescriptor, ts::AdaptationFieldDataDescriptor, ts::AncillaryDataDescriptor, ts::ATSCStuffingDescriptor, ts::BoardInformationDescriptor, ts::CarouselIdentifierDescriptor, ts::CIAncillaryDataDescriptor, ts::ComponentNameDescriptor, ts::CopyrightDescriptor, ts::CPIdentifierDescriptor, ts::DataComponentDescriptor, ts::DVBStuffingDescriptor, ts::ExtendedChannelNameDescriptor, ts::GenreDescriptor, ts::HierarchicalTransmissionDescriptor, ts::PrivateDataIndicatorDescriptor, ts::PrivateDataSpecifierDescriptor, ts::RedistributionControlDescriptor, ts::ScramblingDescriptor, ts::STDDescriptor, ts::StreamIdentifierDescriptor, ts::TimeShiftedEventDescriptor, ts::TransportProfileDescriptor, ts::BroadcasterNameDescriptor, ts::DataStreamAlignmentDescriptor, ts::DVBTimeShiftedServiceDescriptor, ts::ExternalESIdDescriptor, ts::MultilingualComponentDescriptor, ts::SLDescriptor, ts::AFExtensionsDescriptor, and ts::RelatedContentDescriptor.

◆ deserializePayload()

virtual void ts::AbstractDescriptor::deserializePayload ( PSIBuffer buf)
protectedvirtualinherited

Deserialize the payload of the descriptor.

This is now the preferred method for descriptor deserialization: use the default implementation of deserialize() and let it call the overridden deserializePayload().

The default implementation generates an error. So, if a subclass overrides neither deserialize() nor deserializePayload(), all deserialization will fail.

Parameters
[in,out]bufDeserialization buffer. The subclass shall read the descriptor payload from buf. The end of read is the end of the binary payload. If any kind of error is reported in the buffer or if the payload is not completely read, the deserialization is considered as invalid. For "extended descriptors", the buffer starts after the "extension tag".

Reimplemented in ts::TeletextDescriptor, ts::LinkageDescriptor, ts::SSULinkageDescriptor, ts::SHDeliverySystemDescriptor, ts::VBIDataDescriptor, ts::NorDigLogicalChannelDescriptorV2, ts::ContentDescriptor, ts::CADescriptor, ts::ExtendedEventDescriptor, ts::SatelliteDeliverySystemDescriptor, ts::SSUDataBroadcastIdDescriptor, ts::ServiceListDescriptor, ts::T2DeliverySystemDescriptor, ts::ISO639LanguageDescriptor, ts::ParentalRatingDescriptor, ts::SubtitlingDescriptor, ts::NetworkChangeNotifyDescriptor, ts::AbstractLogicalChannelDescriptor, ts::MVCOperationPointDescriptor, ts::CellListDescriptor, ts::ExternalApplicationAuthorizationDescriptor, ts::DIILocationDescriptor, ts::SkyLogicalChannelNumberDescriptor, ts::ApplicationRecordingDescriptor, ts::EutelsatChannelNumberDescriptor, ts::DTSHDDescriptor, ts::DTGServiceAttributeDescriptor, ts::EASInbandExceptionChannelsDescriptor, ts::NorDigLogicalChannelDescriptorV1, ts::S2XSatelliteDeliverySystemDescriptor, ts::TargetIPSourceSlashDescriptor, ts::TargetIPv6SourceSlashDescriptor, ts::CellFrequencyLinkDescriptor, ts::AudioPreselectionDescriptor, ts::ServiceLocationDescriptor, ts::ATSCTimeShiftedServiceDescriptor, ts::CaptionServiceDescriptor, ts::EventGroupDescriptor, ts::NVODReferenceDescriptor, ts::ApplicationSignallingDescriptor, ts::C2BundleDeliverySystemDescriptor, ts::LocalTimeOffsetDescriptor, ts::TargetIPSlashDescriptor, ts::TargetIPv6SlashDescriptor, ts::EASAudioFileDescriptor, ts::FMCDescriptor, ts::TargetMACAddressRangeDescriptor, ts::AbstractMultilingualDescriptor, ts::AbstractPreferredNameListDescriptor, ts::VirtualSegmentationDescriptor, ts::ApplicationDescriptor, ts::ExtendedBroadcasterDescriptor, ts::MosaicDescriptor, ts::AnnouncementSupportDescriptor, ts::MPEGH3DAudioMultiStreamDescriptor, ts::MultilingualServiceNameDescriptor, ts::ContentAdvisoryDescriptor, ts::DigitalCopyControlDescriptor, ts::FrequencyListDescriptor, ts::SIPrimeTSDescriptor, ts::TargetRegionNameDescriptor, ts::TVAIdDescriptor, ts::ShortEventDescriptor, ts::TargetRegionDescriptor, ts::SIParameterDescriptor, ts::ServiceGroupDescriptor, ts::VideoDepthRangeDescriptor, ts::ATSCEAC3AudioDescriptor, ts::ContentIdentifierDescriptor, ts::HEVCVideoDescriptor, ts::AreaBroadcastingInformationDescriptor, ts::ATSCAC3AudioStreamDescriptor, ts::DVBEnhancedAC3Descriptor, ts::EmergencyInformationDescriptor, ts::CountryAvailabilityDescriptor, ts::DataBroadcastIdDescriptor, ts::TargetIPAddressDescriptor, ts::TargetIPv6AddressDescriptor, ts::TelephoneDescriptor, ts::SpliceDTMFDescriptor, ts::TargetMACAddressDescriptor, ts::AbstractPreferredNameIdentifierDescriptor, ts::AVCVideoDescriptor, ts::DVBAC3Descriptor, ts::ImageIconDescriptor, ts::J2KVideoDescriptor, ts::MessageDescriptor, ts::MetadataDescriptor, ts::StreamEventDescriptor, ts::TerrestrialDeliverySystemDescriptor, ts::AudioComponentDescriptor, ts::MetadataPointerDescriptor, ts::ApplicationStorageDescriptor, ts::IPMACGenericStreamLocationDescriptor, ts::ContentLabellingDescriptor, ts::DTGGuidanceDescriptor, ts::GreenExtensionDescriptor, ts::HEVCHierarchyExtensionDescriptor, ts::HierarchyDescriptor, ts::IPMACStreamLocationDescriptor, ts::SpliceTimeDescriptor, ts::SSUEnhancedMessageDescriptor, ts::TargetSmartcardDescriptor, ts::AVCTimingAndHRDDescriptor, ts::C2DeliverySystemDescriptor, ts::CueIdentifierDescriptor, ts::DTSDescriptor, ts::GraphicsConstraintsDescriptor, ts::HEVCTimingAndHRDDescriptor, ts::IPMACPlatformNameDescriptor, ts::IPMACPlatformProviderNameDescriptor, ts::SSUMessageDescriptor, ts::TargetSerialNumberDescriptor, ts::UpdateDescriptor, ts::VideoStreamDescriptor, ts::ApplicationIconsDescriptor, ts::CAIdentifierDescriptor, ts::ComponentDescriptor, ts::DVBJApplicationLocationDescriptor, ts::EASInbandDetailsChannelDescriptor, ts::EASMetadataDescriptor, ts::ISPAccessModeDescriptor, ts::MaximumBitrateDescriptor, ts::PartialTransportStreamDescriptor, ts::ServiceAvailabilityDescriptor, ts::ServiceDescriptor, ts::SSUEventNameDescriptor, ts::SSULocationDescriptor, ts::SSUURIDescriptor, ts::ApplicationUsageDescriptor, ts::ContentAvailabilityDescriptor, ts::CPDescriptor, ts::DataContentDescriptor, ts::DTGShortServiceNameDescriptor, ts::DVBAC4Descriptor, ts::DVBHTMLApplicationBoundaryDescriptor, ts::DVBHTMLApplicationDescriptor, ts::DVBHTMLApplicationLocationDescriptor, ts::HybridInformationDescriptor, ts::IPSignallingDescriptor, ts::ISDBAccessControlDescriptor, ts::NodeRelationDescriptor, ts::S2SatelliteDeliverySystemDescriptor, ts::SpliceAvailDescriptor, ts::SupplementaryAudioDescriptor, ts::AACDescriptor, ts::CableDeliverySystemDescriptor, ts::CAContractInfoDescriptor, ts::DataBroadcastDescriptor, ts::DVBJApplicationDescriptor, ts::EacemStreamIdentifierDescriptor, ts::ISDBTerrestrialDeliverySystemDescriptor, ts::MPEGH3DAudioDescriptor, ts::SimpleApplicationBoundaryDescriptor, ts::SimpleApplicationLocationDescriptor, ts::T2MIDescriptor, ts::URILinkageDescriptor, ts::AssociationTagDescriptor, ts::AudioStreamDescriptor, ts::CAEMMTSDescriptor, ts::CAServiceDescriptor, ts::DeferredAssociationTagsDescriptor, ts::DSNGDescriptor, ts::FlexMuxTimingDescriptor, ts::FTAContentManagementDescriptor, ts::PDCDescriptor, ts::RegistrationDescriptor, ts::ServiceIdentifierDescriptor, ts::ServiceRelocatedDescriptor, ts::SystemManagementDescriptor, ts::BouquetNameDescriptor, ts::ConditionalPlaybackDescriptor, ts::DCCArrivingRequestDescriptor, ts::DCCDepartingRequestDescriptor, ts::DTSNeuralDescriptor, ts::ECMRepetitionRateDescriptor, ts::IBPDescriptor, ts::MPEG2AACAudioDescriptor, ts::NetworkNameDescriptor, ts::ServiceMoveDescriptor, ts::ShortNodeInformationDescriptor, ts::ShortSmoothingBufferDescriptor, ts::StreamModeDescriptor, ts::SystemClockDescriptor, ts::TransportStreamDescriptor, ts::VideoWindowDescriptor, ts::AdaptationFieldDataDescriptor, ts::AncillaryDataDescriptor, ts::ATSCStuffingDescriptor, ts::BoardInformationDescriptor, ts::CarouselIdentifierDescriptor, ts::CIAncillaryDataDescriptor, ts::ComponentNameDescriptor, ts::CopyrightDescriptor, ts::CPIdentifierDescriptor, ts::DataComponentDescriptor, ts::DVBStuffingDescriptor, ts::ExtendedChannelNameDescriptor, ts::GenreDescriptor, ts::HierarchicalTransmissionDescriptor, ts::PrivateDataIndicatorDescriptor, ts::PrivateDataSpecifierDescriptor, ts::RedistributionControlDescriptor, ts::ScramblingDescriptor, ts::STDDescriptor, ts::StreamIdentifierDescriptor, ts::TimeShiftedEventDescriptor, ts::TransportProfileDescriptor, ts::BroadcasterNameDescriptor, ts::DataStreamAlignmentDescriptor, ts::DVBTimeShiftedServiceDescriptor, ts::ExternalESIdDescriptor, ts::MultilingualComponentDescriptor, ts::SLDescriptor, ts::AFExtensionsDescriptor, and ts::RelatedContentDescriptor.

◆ isValid()

bool ts::AbstractSignalization::isValid ( ) const
inlineinherited

Check if this object is valid.

Returns
True if this object is valid.

◆ invalidate()

void ts::AbstractSignalization::invalidate ( )
inlineinherited

Invalidate this object.

This object must be rebuilt.

◆ clear()

virtual void ts::AbstractSignalization::clear ( )
virtualinherited

This method clears the content of the table or descriptor.

Upon return, the object is valid and in the same empty state as after a default constructor.

Reimplemented in ts::AbstractLongTable.

◆ xmlName()

UString ts::AbstractSignalization::xmlName ( ) const
inherited

Get the XMl node name representing this table or descriptor.

Returns
The XML node name.

◆ toXML()

xml::Element* ts::AbstractSignalization::toXML ( DuckContext duck,
xml::Element parent 
) const
inherited

This method converts this object to XML.

When this object is valid, this method creates a root node with the default XML name and then invokes buildXML() in the subclass to populate the XML node.

Parameters
[in,out]duckTSDuck execution context.
[in,out]parentThe parent node for the new XML tree.
Returns
The new XML element.

◆ fromXML()

void ts::AbstractSignalization::fromXML ( DuckContext duck,
const xml::Element element 
)
inherited

This method converts an XML structure to a table or descriptor in this object.

In case of success, this object is replaced with the interpreted content of the XML structure. In case of error, this object is invalidated.

This method checks the name of the XML node and then invokes analyzeXML() in the subclass. Depending on the returned values of analyzeXML(), this object is either validated or invalidated.

Parameters
[in,out]duckTSDuck execution context.
[in]elementXML element to convert.

◆ definingStandards()

virtual Standards ts::AbstractSignalization::definingStandards ( ) const
overridevirtualinherited

Get the list of standards which define this object.

Returns
A bit mask of standards.

Implements ts::AbstractDefinedByStandards.


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