Lumiera  0.pre.03
»edit your freedom«
Display::Sink Class Reference

#include "include/display-facade.h"

Description

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)
 
Handleactivate (lumiera_displaySlot *impl, DEL whenDead)
 Activation of the handle by the managing service. More...
 
Handleactivate (shared_ptr< lumiera_displaySlot > const &impl)
 another way of activating a handle by sharing ownership with an existing smart-ptr
 
Handleactivate (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
 
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< 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_
 

Member Function Documentation

◆ operator()()

void operator() ( LumieraDisplayFrame  frame)
inline

push a frame up to the display, calling through the CL Interface.

See also
DisplayService::allocate

Definition at line 108 of file display-facade.h.

References Display::getHandle(), and Display::~Display().

+ Here is the call graph for this function:
+ Inheritance diagram for Display::Sink:
+ Collaboration diagram for Display::Sink:

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