Lumiera  0.pre.03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SelectionListener< TI > Class Template Reference

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


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 ( )

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

Member Function Documentation

void operator() ( TI const &  changeValue) const

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

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

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

Member Data Documentation

sigc::signal<void, TI> valueChangedSignal_

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: