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

#include <audio_region_editor.h>

Inheritance diagram for AudioRegionEditor:
RegionEditor ArdourDialog ARDOUR::SessionHandlePtr

Public Member Functions

 AudioRegionEditor (ARDOUR::Session *, boost::shared_ptr< ARDOUR::AudioRegion >)
 
 ~AudioRegionEditor ()
 
void peak_amplitude_thread ()
 
- Public Member Functions inherited from RegionEditor
 RegionEditor (ARDOUR::Session *, boost::shared_ptr< ARDOUR::Region >)
 
virtual ~RegionEditor ()
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, std::string title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 

Private Member Functions

void region_changed (PBD::PropertyChange const &)
 
void gain_changed ()
 
void gain_adjustment_changed ()
 
void signal_peak_thread ()
 
void wait_for_signal ()
 
void peak_amplitude_found (double)
 

Private Attributes

boost::shared_ptr
< ARDOUR::AudioRegion
_audio_region
 
Gtk::Label gain_label
 
Gtk::Adjustment gain_adjustment
 
Gtk::SpinButton gain_entry
 
Gtk::Label _peak_amplitude_label
 
Gtk::Entry _peak_amplitude
 
pthread_t _peak_amplitude_thread_handle
 
PBD::Signal1< void, double > PeakAmplitudeFound
 
PBD::ScopedConnection _peak_amplitude_connection
 
CrossThreadChannel _peak_channel
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from RegionEditor
Gtk::Table _table
 
int _table_row
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 56 of file audio_region_editor.h.

Constructor & Destructor Documentation

AudioRegionEditor::AudioRegionEditor ( ARDOUR::Session s,
boost::shared_ptr< ARDOUR::AudioRegion r 
)

Definition at line 52 of file audio_region_editor.cc.

AudioRegionEditor::~AudioRegionEditor ( )

Definition at line 98 of file audio_region_editor.cc.

Member Function Documentation

void AudioRegionEditor::gain_adjustment_changed ( )
private

Definition at line 129 of file audio_region_editor.cc.

void AudioRegionEditor::gain_changed ( )
private

Definition at line 120 of file audio_region_editor.cc.

void AudioRegionEditor::peak_amplitude_found ( double  p)
private

Definition at line 171 of file audio_region_editor.cc.

void AudioRegionEditor::peak_amplitude_thread ( )

Definition at line 159 of file audio_region_editor.cc.

void AudioRegionEditor::region_changed ( PBD::PropertyChange const &  what_changed)
privatevirtual

Reimplemented from RegionEditor.

Definition at line 106 of file audio_region_editor.cc.

void AudioRegionEditor::signal_peak_thread ( )
private

Definition at line 138 of file audio_region_editor.cc.

void AudioRegionEditor::wait_for_signal ( )
private

Definition at line 148 of file audio_region_editor.cc.

Member Data Documentation

boost::shared_ptr<ARDOUR::AudioRegion> AudioRegionEditor::_audio_region
private

Definition at line 71 of file audio_region_editor.h.

Gtk::Entry AudioRegionEditor::_peak_amplitude
private

Definition at line 78 of file audio_region_editor.h.

PBD::ScopedConnection AudioRegionEditor::_peak_amplitude_connection
private

Definition at line 85 of file audio_region_editor.h.

Gtk::Label AudioRegionEditor::_peak_amplitude_label
private

Definition at line 77 of file audio_region_editor.h.

pthread_t AudioRegionEditor::_peak_amplitude_thread_handle
private

Definition at line 82 of file audio_region_editor.h.

CrossThreadChannel AudioRegionEditor::_peak_channel
private

Definition at line 89 of file audio_region_editor.h.

Gtk::Adjustment AudioRegionEditor::gain_adjustment
private

Definition at line 74 of file audio_region_editor.h.

Gtk::SpinButton AudioRegionEditor::gain_entry
private

Definition at line 75 of file audio_region_editor.h.

Gtk::Label AudioRegionEditor::gain_label
private

Definition at line 73 of file audio_region_editor.h.

PBD::Signal1<void, double> AudioRegionEditor::PeakAmplitudeFound
private

Definition at line 84 of file audio_region_editor.h.


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