Class: LTS (Logical Time System)

Superclasses:

Syntax:






 set lts [new LTS]

Description:

This class implements the Logical Time System. It provides an easy mechanism for mapping an arbitrary time period moving at an arbitrary speed in current system time; i.e. it provides a linear conversion function from logical time to system time:





   logical_time = system_time * speed + offset
The LTS object uses a reference logical-to-system mapping to convert between logical and system time:





  logical_time = (system_time - ref_system) * speed + ref_logical
  system_time  = (logical_time - ref_logical) / speed + ref_system
We borrowed the concept and terminology of the LTS from the Contiuous Media Toolkit.

Methods

speed: now_logical: now_system: set_reference:

Related Objects:

ArchiveStream/Play,

Putting it all together