Lumiera  0.pre.03
»edit your freedom«
DummyPlayer::Process Class Reference

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

Description

Playback process, front-end to be used by client code.

This handle represents a continuous playback process, which has been started with a specific output size, format and framerate. It is a handle to a calculation process, which is about to produce a stream of frames and push them to the viewer widget, specified by a LumieraDisplaySlot when starting this process.

The Lifecycle of the referred playback process is managed automatically through this handle (by ref count). Client code is supposed to use the API on this handle to control the playback mode.

See also
handle.hpp
dummy-player-service.cpp implementation

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

Public Member Functions

void play (bool)
 play/pause toggle
 
- Public Member Functions inherited from Handle< ProcessImplementationLink >
 Handle ()=default
 by default create an Null handle. More...
 
 Handle (ProcessImplementationLink *imp)
 directly establish handle from an implementation, which typically way just heap allocated beforehand.
 
 Handle (Handle const &r)=default
 
 Handle (Handle &&rr)=default
 
 Handle (shared_ptr< Y > const &r)
 
 Handle (shared_ptr< Y > &&srr)
 
 Handle (weak_ptr< Y > const &wr)
 
 Handle (unique_ptr< Y > &&urr)
 
Handleactivate (ProcessImplementationLink *impl, DEL whenDead)
 Activation of the handle by the managing service. More...
 
Handleactivate (shared_ptr< ProcessImplementationLink > const &impl)
 another way of activating a handle by sharing ownership with an existing smart-ptr
 
Handleactivate (shared_ptr< ProcessImplementationLink > &&impl)
 
void close ()
 deactivate this handle, so it isn't tied any longer to the associated implementation or service object. More...
 
bool isValid () const
 
 operator bool () const
 
Handleoperator= (Handle const &r)=default
 
Handleoperator= (Handle &&rr)=default
 
Handleoperator= (shared_ptr< Y > const &sr)
 
Handleoperator= (shared_ptr< Y > &&srr)
 
Handleoperator= (unique_ptr< Y > &&urr)
 

Additional Inherited Members

- Protected Types inherited from Handle< ProcessImplementationLink >
typedef std::shared_ptr< ProcessImplementationLink > SmPtr
 
- Protected Member Functions inherited from Handle< ProcessImplementationLink >
ProcessImplementationLink & impl () const
 
- Protected Attributes inherited from Handle< ProcessImplementationLink >
SmPtr smPtr_
 
+ Inheritance diagram for DummyPlayer::Process:
+ Collaboration diagram for DummyPlayer::Process:

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