Lumiera  0.pre.03
»edit your freedom«
dummy-session-connection.cpp File Reference

Go to the source code of this file.

Description

Implementation details to build some scaffolding for UI<–>Session integration.

In this translation unit, actually a singleton will be instantiated, whenever some other part of the application (or some unit test) needs backing by a faked session with...

  • some session content
  • commands to be invoked
Todo:
WIP as of 10/2018 ///////////////////////TICKET #1042
See also
corresponding UI

Definition in file dummy-session-connection.cpp.

Typedefs

using DummySess = session::DummySessionConnection
 

Functions

GenNode clip (string clipID, TimeSpan timings)
 
GenNode clip (string clipID, Time start, Duration dur=Duration{FSecs{1}})
 
 COMMAND_DEFINITION (test_fake_injectSequence_1)
 Populate the Timeline in the UI with a typical simple Dummy sequence. More...
 
 COMMAND_DEFINITION (test_fake_injectSequence_2)
 Populate the Timeline in the UI with a rather complex Dummy sequence. More...
 
 COMMAND_DEFINITION (test_fake_blubb)
 Template for dummy-code.... More...
 
GenNode defineTiming (Time start, Duration dur=Duration{FSecs{1}})
 define the (optional) timings for a clip
 
GenNode emptyTimeline (string baseID, RandID const &forkRootID)
 
GenNode emptyTrack (string trackID)
 
GenNode makeName (GenNode const &elm)
 fabricate an attribute node based on the human-readable part of the given elemen's ID
 
GenNode ruler ()
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::mobject
 Media-Objects, edit operations and high-level session.
 
 steam::mobject::session
 Namespace of Session and user visible high-level objects.
 

Function Documentation

◆ COMMAND_DEFINITION() [1/3]

steam::cmd::COMMAND_DEFINITION ( test_fake_injectSequence_1  )

Populate the Timeline in the UI with a typical simple Dummy sequence.

This Steam-Layer command script fabricates a faked "population diff", which not corresponds to any existing session data structure, but looks as if emanated while loading current session state.

  • one single Timeline
  • just the root track
  • two clips placed on that track
    Todo:
    use this to establish basic Timeline display in the UI //////////////////TICKET #1014 : produce Dummy content to populate timeline

Definition at line 292 of file dummy-session-connection.cpp.

◆ COMMAND_DEFINITION() [2/3]

steam::cmd::COMMAND_DEFINITION ( test_fake_injectSequence_2  )

Populate the Timeline in the UI with a rather complex Dummy sequence.

This command script fabricates a faked convoluted "population diff"...

Todo:
use this to enact a complex layout structure in the Timeline-UI //////////////////TICKET #1014 : produce Dummy content to populate timeline

Definition at line 318 of file dummy-session-connection.cpp.

◆ COMMAND_DEFINITION() [3/3]

steam::cmd::COMMAND_DEFINITION ( test_fake_blubb  )

Template for dummy-code....

Todo:
use this to enact a complex layout structure in the Timeline-UI //////////////////TICKET #1042 : further the DummySessionConnection

Definition at line 343 of file dummy-session-connection.cpp.