Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Play Class Referenceabstract

#include "include/play-facade.hpp"

Description

Interface to the Player subsystem of Lumiera (Steam-Layer).

Global access point for starting playback and render processes, calculating media data by running the render engine.

Todo:
WIP-WIP-WIP 6/2011
Note
Lumiera is not yet able actually to deliver rendered data.
Todo:
there should be an accompanying CL Interface defined for the Lumiera interface system, so the player can be accessed from external clients. This was left out for now, as we don't have either plugins, nor any script running capabilities yet. (5/2011)

Definition at line 73 of file play-facade.hpp.

Classes

class  Controller
 Continuous playback process, which has been hooked up and started with a fixed set of output slots. More...
 

Public Types

using ModelPorts = lib::IterSource< steam::mobject::ModelPort >::iterator
 
using Pipes = lib::IterSource< steam::mobject::OutputDesignation >::iterator
 
using Output = steam::play::POutputManager
 
using Clip = steam::mobject::session::PClip
 
using Fork = steam::mobject::PFork
 
using Timeline = steam::asset::PTimeline
 
using Viewer = steam::asset::PViewer
 

Static Public Attributes

static lib::Depend< Playfacade
 get an implementation instance of this service
 

Public Member Functions

Controller perform (ModelPorts, Output)
 Generic point-of-Service for starting playback.
 
Controller perform (Pipes, Output)
 
Controller perform (Timeline)
 
Controller perform (Viewer)
 
Controller perform (Fork)
 
Controller perform (Clip)
 

Friends

class lib::DependencyFactory< Play >
 

Protected Member Functions

virtual ~Play ()
 
virtual Controller connect (ModelPorts, Output)=0
 core operation: create a new playback process outputting to the given viewer/display

 

Constructor & Destructor Documentation

◆ ~Play()

~Play ( )
protectedvirtual

Definition at line 42 of file play-service.cpp.

Member Typedef Documentation

◆ ModelPorts

Definition at line 124 of file play-facade.hpp.

◆ Pipes

Definition at line 125 of file play-facade.hpp.

◆ Output

Definition at line 126 of file play-facade.hpp.

◆ Clip

Definition at line 127 of file play-facade.hpp.

◆ Fork

Definition at line 128 of file play-facade.hpp.

◆ Timeline

Definition at line 129 of file play-facade.hpp.

◆ Viewer

Definition at line 130 of file play-facade.hpp.

Member Function Documentation

◆ perform() [1/6]

Play::Controller perform ( ModelPorts  ports,
Output  output 
)

Generic point-of-Service for starting playback.

Activating this service will "perform" the given exit points of the model, by "pulling" calculated data from these ports and feeding the results into suitable external outputs.

Returns
a state machine front-end to control the ongoing play/render process.

Definition at line 212 of file play-service.cpp.

References Play::connect().

+ Here is the call graph for this function:

◆ perform() [2/6]

Controller perform ( Pipes  ,
Output   
)

◆ perform() [3/6]

Play::Controller perform ( Timeline  )

Definition at line 232 of file play-service.cpp.

◆ perform() [4/6]

Play::Controller perform ( Viewer  )

Definition at line 242 of file play-service.cpp.

◆ perform() [5/6]

Play::Controller perform ( Fork  )

Definition at line 252 of file play-service.cpp.

◆ perform() [6/6]

Play::Controller perform ( Clip  )

Definition at line 262 of file play-service.cpp.

◆ connect()

virtual Controller connect ( ModelPorts  ,
Output   
)
protectedpure virtual

core operation: create a new playback process outputting to the given viewer/display

Implemented in PlayService.

Referenced by Play::perform().

+ Here is the caller graph for this function:

Member Data Documentation

◆ facade

lib::Depend< Play > facade
static

get an implementation instance of this service

static storage for the facade access front-end

Definition at line 81 of file play-facade.hpp.

Referenced by DummyPlayConnection_test::verify_simulatedPlayback().

Friends And Related Symbol Documentation

◆ lib::DependencyFactory< Play >

friend class lib::DependencyFactory< Play >
friend

Definition at line 76 of file play-facade.hpp.

+ Inheritance diagram for Play:
+ Collaboration diagram for Play:

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