Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DisplayerSlot Class Reference

#include "gui/display-service.hpp"

Description

Actual implementation of a single displayer slot.

Internally, it is connected via the Glib::Dispatcher for outputting frames to a viewer widget, which executes within the GTK event thread.

Note
must be created from the GTK event thread.

Definition at line 84 of file display-service.hpp.

Public Member Functions

 DisplayerSlot (FrameDestination const &)
 
 ~DisplayerSlot ()
 
void put (LumieraDisplayFrame)
 receive a frame to be displayed More...
 

Private Member Functions

void displayCurrentFrame ()
 internal: activated via Dispatcher and running in GTK main thread More...
 
- Private Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 ~NonCopyable ()=default
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Private Attributes

LumieraDisplayFrame currBuffer_
 
Dispatcher dispatcher_
 
FrameSignal hasFrame_
 

Constructor & Destructor Documentation

DisplayerSlot ( FrameDestination const &  outputDestination)

Definition at line 240 of file display-service.cpp.

References DisplayerSlot::dispatcher_, DisplayerSlot::displayCurrentFrame(), and DisplayerSlot::hasFrame_.

+ Here is the call graph for this function:

Definition at line 249 of file display-service.cpp.

References TRACE().

+ Here is the call graph for this function:

Member Function Documentation

void put ( LumieraDisplayFrame  newFrame)
inline

receive a frame to be displayed

Definition at line 173 of file display-service.hpp.

References DisplayerSlot::currBuffer_, DisplayerSlot::dispatcher_, and TRACE().

+ Here is the call graph for this function:

void displayCurrentFrame ( )
private

internal: activated via Dispatcher and running in GTK main thread

Definition at line 256 of file display-service.cpp.

References DisplayerSlot::currBuffer_, and DisplayerSlot::hasFrame_.

Referenced by DisplayerSlot::DisplayerSlot().

+ Here is the caller graph for this function:

Member Data Documentation

Dispatcher dispatcher_
private

Definition at line 88 of file display-service.hpp.

Referenced by DisplayerSlot::DisplayerSlot(), and DisplayerSlot::put().

FrameSignal hasFrame_
private
LumieraDisplayFrame currBuffer_
private

Definition at line 91 of file display-service.hpp.

Referenced by DisplayerSlot::displayCurrentFrame(), and DisplayerSlot::put().

+ Inheritance diagram for DisplayerSlot:
+ Collaboration diagram for DisplayerSlot:

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