ardour
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ClockOption Class Reference

#include <option_editor.h>

Inheritance diagram for ClockOption:
Option OptionEditorComponent

Public Member Functions

 ClockOption (std::string const &, std::string const &, sigc::slot< std::string >, sigc::slot< bool, std::string >)
 
void set_state_from_config ()
 
void add_to_page (OptionEditorPage *)
 
void set_session (ARDOUR::Session *)
 
Gtk::Widget & tip_widget ()
 
AudioClockclock ()
 
- Public Member Functions inherited from Option
 Option (std::string const &i, std::string const &n)
 
void parameter_changed (std::string const &p)
 
std::string id () const
 
- Public Member Functions inherited from OptionEditorComponent
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *)
 
void set_note (std::string const &)
 

Private Member Functions

void save_clock_time ()
 

Private Attributes

Gtk::Label _label
 
AudioClock _clock
 
sigc::slot< std::string > _get
 
sigc::slot< bool, std::string > _set
 
ARDOUR::Session_session
 

Additional Inherited Members

- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 

Detailed Description

Definition at line 596 of file option_editor.h.

Constructor & Destructor Documentation

ClockOption::ClockOption ( std::string const &  ,
std::string const &  ,
sigc::slot< std::string >  ,
sigc::slot< bool, std::string >   
)

Definition at line 321 of file option_editor.cc.

Member Function Documentation

void ClockOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

Definition at line 357 of file option_editor.cc.

AudioClock& ClockOption::clock ( )
inline

Definition at line 605 of file option_editor.h.

void ClockOption::save_clock_time ( )
private

Definition at line 349 of file option_editor.cc.

void ClockOption::set_session ( ARDOUR::Session s)

Definition at line 363 of file option_editor.cc.

void ClockOption::set_state_from_config ( )
virtual

Called to instruct the object to set its UI state from the configuration

Implements Option.

Definition at line 334 of file option_editor.cc.

Gtk::Widget& ClockOption::tip_widget ( )
inlinevirtual

Implements OptionEditorComponent.

Definition at line 604 of file option_editor.h.

Member Data Documentation

AudioClock ClockOption::_clock
private

Definition at line 610 of file option_editor.h.

sigc::slot<std::string> ClockOption::_get
private

Definition at line 611 of file option_editor.h.

Gtk::Label ClockOption::_label
private

Definition at line 609 of file option_editor.h.

ARDOUR::Session* ClockOption::_session
private

Definition at line 613 of file option_editor.h.

sigc::slot<bool, std::string> ClockOption::_set
private

Definition at line 612 of file option_editor.h.


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