Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
DemoController Class Reference

#include "stage/ctrl/demo-controller.hpp"

Description

Deprecated:
we need a durable design for the playback process

Definition at line 54 of file demo-controller.hpp.

Public Attributes

sigc::signal< void(void *const)> output_
 

Public Member Functions

 ~DemoController ()
 
 DemoController ()
 
bool isPlaying () const
 
void play ()
 
void pause ()
 
void stop ()
 
void activate (lumiera::DisplayerInput)
 Signal slot to be called after the output window was created and the actually usable video display technology has been determined.
 

Private Member Functions

void processFrame ()
 
- Private Member Functions inherited from NonCopyable
 ~NonCopyable ()=default
 
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Private Attributes

unique_ptr< steam::node::DummyImageGeneratorimageGen_
 
unique_ptr< steam::node::DummyTickServicetick_
 
bool playing_
 

Constructor & Destructor Documentation

◆ ~DemoController()

Definition at line 50 of file demo-controller.cpp.

References DemoController::stop().

+ Here is the call graph for this function:

◆ DemoController()

Definition at line 43 of file demo-controller.cpp.

Member Function Documentation

◆ isPlaying()

bool isPlaying ( ) const
inline

Definition at line 65 of file demo-controller.hpp.

References DemoController::playing_.

◆ play()

void play ( )

Definition at line 77 of file demo-controller.cpp.

References DemoController::playing_, DemoController::processFrame(), and DemoController::tick_.

Referenced by PlayPanel::dispatchPlay().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pause()

void pause ( )

Definition at line 87 of file demo-controller.cpp.

References DemoController::playing_, and DemoController::tick_.

Referenced by PlayPanel::dispatchPause().

+ Here is the caller graph for this function:

◆ stop()

void stop ( )

Definition at line 95 of file demo-controller.cpp.

References DemoController::playing_, and DemoController::tick_.

Referenced by DemoController::~DemoController(), and PlayPanel::dispatchStop().

+ Here is the caller graph for this function:

◆ activate()

void activate ( lumiera::DisplayerInput  displayFormat)

Signal slot to be called after the output window was created and the actually usable video display technology has been determined.

Parameters
displayFormatformat for the frames expected in the passed image buffer.

Definition at line 57 of file demo-controller.cpp.

References DemoController::imageGen_.

Referenced by ViewerPanel::ViewerPanel().

+ Here is the caller graph for this function:

◆ processFrame()

void processFrame ( )
private

Definition at line 64 of file demo-controller.cpp.

References DemoController::imageGen_, DemoController::output_, DemoController::playing_, and DemoController::tick_.

Referenced by DemoController::play().

+ Here is the caller graph for this function:

Member Data Documentation

◆ imageGen_

unique_ptr<steam::node::DummyImageGenerator> imageGen_
private

Definition at line 58 of file demo-controller.hpp.

Referenced by DemoController::activate(), and DemoController::processFrame().

◆ tick_

◆ output_

sigc::signal<void(void* const)> output_

Definition at line 72 of file demo-controller.hpp.

Referenced by ViewerPanel::ViewerPanel(), and DemoController::processFrame().

◆ playing_

+ Inheritance diagram for DemoController:
+ Collaboration diagram for DemoController:

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