Ardour  9.0-pre0-582-g084a23a80d
ClockOption Class Reference

#include <option_editor.h>

Inheritance diagram for ClockOption:
[legend]

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::Widgettip_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
 OptionEditorComponent ()
 
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *, bool expand=true)
 
void set_note (std::string const &)
 
virtual PBD::Configuration::Metadata const * get_metadata () const
 
void set_metadata (PBD::Configuration::Metadata const &)
 
void highlight ()
 
void end_highlight ()
 

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 Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 
- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 

Detailed Description

Definition at line 634 of file option_editor.h.

Constructor & Destructor Documentation

◆ ClockOption()

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

Member Function Documentation

◆ add_to_page()

void ClockOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ clock()

AudioClock& ClockOption::clock ( )
inline

Definition at line 643 of file option_editor.h.

◆ save_clock_time()

void ClockOption::save_clock_time ( )
private

◆ set_session()

void ClockOption::set_session ( ARDOUR::Session )

◆ set_state_from_config()

void ClockOption::set_state_from_config ( )
virtual

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

Implements Option.

◆ tip_widget()

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

Implements OptionEditorComponent.

Definition at line 642 of file option_editor.h.

Member Data Documentation

◆ _clock

AudioClock ClockOption::_clock
private

Definition at line 648 of file option_editor.h.

◆ _get

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

Definition at line 649 of file option_editor.h.

◆ _label

Gtk::Label* ClockOption::_label
private

Definition at line 647 of file option_editor.h.

◆ _session

ARDOUR::Session* ClockOption::_session
private

Definition at line 651 of file option_editor.h.

◆ _set

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

Definition at line 650 of file option_editor.h.


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