TSDuck v3.40-4163
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::tlv Namespace Reference

Namespace for TLV protocols (Tag / Length / Value) More...

Classes

class  Analyzer
 Analysis (deserialization) of TLV messages. More...
 
class  ChannelMessage
 Base class for DVB SimulCrypt TLV messages operating on channels. More...
 
class  Connection
 TCP connection using TLV messages. More...
 
class  DeserializationInternalError
 Exception raised by deserialization of messages. More...
 
class  Logger
 A logger class for TLV messages. More...
 
class  Message
 Abstract base class for TLV messages. More...
 
class  MessageFactory
 Factory class for TLV messages. More...
 
class  Protocol
 The class ts::tlv::Protocol defines the syntax of a TLV protocol. More...
 
class  Serializer
 Serialization of TLV messages. More...
 
class  StreamMessage
 Base class for DVB SimulCrypt TLV messages operating on streams. More...
 

Typedefs

using LENGTH = uint16_t
 Type for TLV length fields (16 bits).
 
using MessageFactoryPtr = std::shared_ptr< MessageFactory >
 Safe pointer for MessageFactory (not thread-safe).
 
using MessagePtr = std::shared_ptr< Message >
 Shared pointer for TLV messages.
 
using TAG = uint16_t
 Type for TLV tags (16 bits).
 
using VERSION = uint8_t
 Type for TLV protocol version (8 bits).
 

Enumerations

enum  Error : uint16_t {
  OK ,
  UnsupportedVersion ,
  InvalidMessage ,
  UnknownCommandTag ,
  UnknownParameterTag ,
  InvalidParameterLength ,
  InvalidParameterCount ,
  MissingParameter
}
 Errors from TLV message analysis. More...
 

Variables

const TAG NULL_TAG = 0x0000
 This tag is not used by DVB and can serve as "no value".
 

Detailed Description

Namespace for TLV protocols (Tag / Length / Value)