Lumiera
0.pre.03
»edit your freedom«
|
#include "include/dummy-player-facade.h"
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.
Definition at line 99 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) | |
Handle & | activate (ProcessImplementationLink *impl, DEL whenDead) |
Activation of the handle by the managing service. More... | |
Handle & | activate (shared_ptr< ProcessImplementationLink > const &impl) |
another way of activating a handle by sharing ownership with an existing smart-ptr | |
Handle & | activate (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 | |
Handle & | operator= (Handle const &r)=default |
Handle & | operator= (Handle &&rr)=default |
Handle & | operator= (shared_ptr< Y > const &sr) |
Handle & | operator= (shared_ptr< Y > &&srr) |
Handle & | operator= (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_ |