Lumiera
0.pre.03
»edit your freedom«
|
#include "include/display-facade.h"
Functor for pushing frames to the display.
While one client is holding such a Sink handle, the corresponding DisplayerSlot is locked for exclusive use by this client.
Definition at line 99 of file display-facade.h.
Public Member Functions | |
void | operator() (LumieraDisplayFrame frame) |
push a frame up to the display, calling through the CL Interface. More... | |
Public Member Functions inherited from Handle< lumiera_displaySlot > | |
Handle ()=default | |
by default create an Null handle. More... | |
Handle (lumiera_displaySlot *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 (lumiera_displaySlot *impl, DEL whenDead) |
Activation of the handle by the managing service. More... | |
Handle & | activate (shared_ptr< lumiera_displaySlot > const &impl) |
another way of activating a handle by sharing ownership with an existing smart-ptr | |
Handle & | activate (shared_ptr< lumiera_displaySlot > &&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< lumiera_displaySlot > | |
typedef std::shared_ptr< lumiera_displaySlot > | SmPtr |
Protected Member Functions inherited from Handle< lumiera_displaySlot > | |
lumiera_displaySlot & | impl () const |
Protected Attributes inherited from Handle< lumiera_displaySlot > | |
SmPtr | smPtr_ |
|
inline |
push a frame up to the display, calling through the CL Interface.
Definition at line 108 of file display-facade.h.
References Display::getHandle(), and Display::~Display().