Lumiera  0.pre.03
»edityourfreedom«
SelectionListener< TI > Class Template Reference

#include "gui/widget/timeline/timeline-state.hpp"

Description

template<class TI>
class gui::widget::timeline::SelectionListener< TI >

SelectionListener is a template class which emits a signal when the value is changed by it's associated time::Control object.

SelectionListener wraps a sigc::signal that emits every time the selection is changed by the time::Control object. SelectionListener does NOT emit the signal if a change to the selection is made outside of the Control/Listener partnership.

Definition at line 68 of file timeline-state.hpp.

Public Member Functions

 SelectionListener ()
 
void connect (const sigc::slot< void, TI > &connection)
 
void operator() (TI const &changeValue) const
 

Private Attributes

sigc::signal< void, TI > valueChangedSignal_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SelectionListener()

SelectionListener ( )
inline

Definition at line 74 of file timeline-state.hpp.

Member Function Documentation

◆ operator()()

void operator() ( TI const &  changeValue) const
inline

Definition at line 77 of file timeline-state.hpp.

◆ connect()

void connect ( const sigc::slot< void, TI > &  connection)
inline

Definition at line 83 of file timeline-state.hpp.

Member Data Documentation

◆ valueChangedSignal_

sigc::signal<void, TI> valueChangedSignal_
private

Definition at line 71 of file timeline-state.hpp.

+ Inheritance diagram for SelectionListener< TI >:
+ Collaboration diagram for SelectionListener< TI >:

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