Lumiera  0.pre.03
»edityourfreedom«
DummyPlayer Class Referenceabstract

#include "include/dummy-player-facade.h"

Description

Experimental Interface Proc-Layer (or maybe the backend?): Global access point for starting a dummy playback, generating some test image data for the GUI to display in a viewer window.

This is a mockup service we created 1/2009 to collect some experiences regarding integration of the application layers. Lumiera is not yet able actually to deliver rendered video data.

In hindsight, this design study highlighted some relevant problems with our interface layout and the way we create bindings to the implementation. The moment we attempt to use other abstractions within an interface (as we do here with the Process interface), we're running into serious maintenance and library dependency problems.

Definition at line 72 of file dummy-player-facade.h.

Public Member Functions

virtual Process start (LumieraDisplaySlot viewerHandle)=0
 create a new playback process outputting to the given viewer/display More...
 

Static Public Member Functions

static lumiera::SubsysgetDescriptor ()
 provide a descriptor for lumiera::AppState, wired accordingly to allow main to deal with the dummy player as independent subsystem. More...
 

Static Public Attributes

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

Classes

class  Process
 Playback process, front-end to be used by client code. More...
 
class  ProcessImplementationLink
 Mediator to allow the client to communicate with the Process implementation via the Process handle, without having to map each implementation-level function into the dummy player interface. More...
 

Friends

class lib::DependencyFactory< DummyPlayer >
 

Protected Member Functions

virtual ~DummyPlayer ()
 

Constructor & Destructor Documentation

◆ ~DummyPlayer()

~DummyPlayer ( )
protectedvirtual

Definition at line 56 of file dummy-player-interface-proxy.cpp.

Member Function Documentation

◆ getDescriptor()

lumiera::Subsys & getDescriptor ( )
static

provide a descriptor for lumiera::AppState, wired accordingly to allow main to deal with the dummy player as independent subsystem.

intended for use by main().

Definition at line 379 of file dummy-player-service.cpp.

◆ start()

virtual Process start ( LumieraDisplaySlot  viewerHandle)
pure virtual

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

Member Data Documentation

◆ facade

lib::Depend< DummyPlayer > facade
static

get an implementation instance of this service

static storage for the facade access front-end

Definition at line 81 of file dummy-player-facade.h.

Referenced by PlaybackController::play(), and DummyPlayer::ProcessImplementationLink::~ProcessImplementationLink().

Friends And Related Function Documentation

◆ lib::DependencyFactory< DummyPlayer >

friend class lib::DependencyFactory< DummyPlayer >
friend

Definition at line 134 of file dummy-player-facade.h.

+ Collaboration diagram for DummyPlayer:

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