Segment#
- class iqm.models.playlist.segment.Segment(instructions=<factory>)#
Bases:
objectContains the instructions to be executed in one segment for each channel.
- Parameters:
Module:
iqm.models.playlist.segmentAttributes
instructionsMethods
Adds an instruction to the segment for a specific channel.
- add_to_segment(channel_description, instruction)#
Adds an instruction to the segment for a specific channel. Also calls the add_instruction of the channel for adding the instruction to the channels waveform map.
- Parameters:
channel_description (ChannelDescription) – The target
ChannelDescriptionobjectinstruction (Instruction) – The instruction to be added
- Return type:
None