Lumiera  0.pre.03
»edit your freedom«
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.

Public Types

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

Public Member Functions

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

Static Public Attributes

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

Classes

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

Friends

class lib::DependencyFactory< Play >
 

Protected Member Functions

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

Member Function Documentation

◆ perform()

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 PlayService::connect().

+ Here is the call 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.

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

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