LocalSession Class Reference

#include <localsession.h>

Collaboration diagram for LocalSession:

Collaboration graph
[legend]

Public Member Functions

 LocalSession (EDL *edl)
 ~LocalSession ()
double get_selectionstart (int highlight_only=0)
double get_selectionend (int highlight_only=0)
double get_inpoint ()
double get_outpoint ()
int inpoint_valid ()
int outpoint_valid ()
void set_selectionstart (double value)
void set_selectionend (double value)
void set_inpoint (double value)
void set_outpoint (double value)
void unset_inpoint ()
void unset_outpoint ()
void copy_from (LocalSession *that)
void save_xml (FileXML *file, double start)
void load_xml (FileXML *file, unsigned long load_flags)
int load_defaults (BC_Hash *defaults)
int save_defaults (BC_Hash *defaults)
void synchronize_params (LocalSession *that)
void boundaries ()

Data Fields

EDLedl
double clipboard_length
char clip_title [BCTEXTLEN]
char clip_notes [BCTEXTLEN]
char folder [BCTEXTLEN]
int loop_playback
double loop_start
double loop_end
int64_t track_start
int64_t view_start
int64_t zoom_sample
int64_t zoom_y
int64_t zoom_track
float automation_mins [6]
float automation_maxs [6]
int zoombar_showautotype
float red
float green
float blue
double preview_start
double preview_end

Private Attributes

double selectionstart
double selectionend
double in_point
double out_point

Detailed Description

Definition at line 12 of file localsession.h.


Constructor & Destructor Documentation

LocalSession::LocalSession ( EDL edl  ) 

LocalSession::~LocalSession (  ) 

Definition at line 72 of file localsession.C.


Member Function Documentation

double LocalSession::get_selectionstart ( int  highlight_only = 0  ) 

Definition at line 303 of file localsession.C.

References EQUIV, in_point, out_point, selectionend, and selectionstart.

Referenced by MutePatch::button_press_event(), Render::check_asset(), MWindow::clear(), EDL::clear(), MWindow::clear_automation(), MWindow::clear_labels(), VWindow::copy(), MWindow::copy(), MWindow::copy_automation(), PluginDialog::create_objects(), PatchBay::cursor_motion_event(), MWindow::cut(), MWindow::cut_automation(), TrackCanvas::do_autos(), TrackCanvas::do_edits(), CWindowCanvas::do_mask(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugins(), TrackCanvas::drag_stop(), CWindowGUI::drag_stop(), MainCursor::draw(), CWindowCanvas::draw_bezier(), TrackCanvas::draw_highlighting(), TimeBar::draw_range(), EDL::dump(), MWindow::find_cursor(), MWindow::finish_modify_handles(), MWindow::fit_autos(), MWindow::fit_selection(), Autos::get_auto_for_editing(), VModePatch::get_keyframe(), VFadePatch::get_keyframe(), Plugin::get_keyframe(), MutePatch::get_keyframe(), APanPatch::get_keyframe(), AFadePatch::get_keyframe(), Plugin::get_next_keyframe(), Autos::get_prev_auto(), Plugin::get_prev_keyframe(), EDL::get_shared_plugins(), VModePatch::handle_event(), CWindowCameraBottom::handle_event(), CWindowCameraTop::handle_event(), CWindowCameraRight::handle_event(), CWindowCameraLeft::handle_event(), APanPatch::handle_event(), Track::insert_effect(), MWindow::insert_effects_cwindow(), MWindow::load_assets(), MWindow::load_filenames(), MWindow::mute_selection(), VWindowEditing::next_label(), MWindow::next_label(), ManualGoto::open_window(), MWindow::overwrite(), MWindow::paste(), AssetPopup::paste_assets(), Tracks::paste_audio_transition(), MWindow::paste_automation(), MWindow::paste_edls(), MWindow::paste_silence(), Tracks::paste_video_transition(), MWindow::prev_edit_handle(), VWindowEditing::prev_label(), MWindow::prev_label(), MWindowGUI::redraw_time_dependancies(), MenuEffectThread::run(), ManualGoto::run(), Tracks::select_all(), VTimeBar::select_label(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::select_point(), MWindow::set_brender_start(), VWindow::set_inpoint(), MWindow::set_inpoint(), MWindow::set_loop_boundaries(), VWindow::set_outpoint(), TransportCommand::set_playback_range(), VWindowSlider::set_position(), CWindowSlider::set_position(), ZoomBar::set_selection(), PluginServer::show_gui(), MWindow::splice(), TrackCanvas::start_selection(), MWindow::straighten_automation(), PatchBay::synchronize_faders(), CWindowCanvas::test_bezier(), VWindowEditing::to_clip(), MWindow::to_clip(), VWindowEditing::toggle_label(), MWindow::toggle_label(), Tracks::total_of(), MWindow::trim_selection(), VPatchGUI::update(), MWindowGUI::update(), KeyframePopup::update(), APatchGUI::update(), ZoomBar::update_clocks(), TrackCanvas::update_drag_auto(), TrackCanvas::update_drag_pluginauto(), VFadePatch::update_edl(), AFadePatch::update_edl(), PluginServer::update_gui(), TimeBar::update_highlights(), TimeBar::update_labels(), and VWindow::update_position().

double LocalSession::get_selectionend ( int  highlight_only = 0  ) 

double LocalSession::get_inpoint (  ) 

double LocalSession::get_outpoint (  ) 

int LocalSession::inpoint_valid (  ) 

int LocalSession::outpoint_valid (  ) 

void LocalSession::set_selectionstart ( double  value  ) 

void LocalSession::set_selectionend ( double  value  ) 

void LocalSession::set_inpoint ( double  value  ) 

Definition at line 281 of file localsession.C.

References in_point.

Referenced by EDL::set_inpoint().

void LocalSession::set_outpoint ( double  value  ) 

Definition at line 286 of file localsession.C.

References out_point.

Referenced by EDL::set_outpoint().

void LocalSession::unset_inpoint (  ) 

void LocalSession::unset_outpoint (  ) 

void LocalSession::copy_from ( LocalSession that  ) 

void LocalSession::save_xml ( FileXML file,
double  start 
)

void LocalSession::load_xml ( FileXML file,
unsigned long  load_flags 
)

int LocalSession::load_defaults ( BC_Hash defaults  ) 

int LocalSession::save_defaults ( BC_Hash defaults  ) 

void LocalSession::synchronize_params ( LocalSession that  ) 

Definition at line 150 of file localsession.C.

References blue, green, loop_end, loop_playback, loop_start, preview_end, preview_start, and red.

Referenced by EDL::synchronize_params().

void LocalSession::boundaries (  ) 

Definition at line 214 of file localsession.C.

References MAX, and zoom_sample.

Referenced by EDL::boundaries().


Field Documentation

Definition at line 50 of file localsession.h.

char LocalSession::clip_title[BCTEXTLEN]

char LocalSession::clip_notes[BCTEXTLEN]

char LocalSession::folder[BCTEXTLEN]

Definition at line 61 of file localsession.h.

Referenced by copy_from(), AWindowGUI::copy_picons(), load_xml(), LocalSession(), and save_xml().

Definition at line 72 of file localsession.h.

Referenced by boundaries(), TrackCanvas::button_press_event(), TimeBar::button_press_event(), TrackCanvas::calculate_viewport(), copy_from(), TrackCanvas::cursor_motion_event(), TrackCanvas::do_edits(), MainCursor::draw(), ResourcePixmap::draw_audio_resource(), ResourcePixmap::draw_audio_source(), TrackCanvas::draw_brender_start(), ResourcePixmap::draw_data(), TrackCanvas::draw_drag_handle(), TrackCanvas::draw_highlighting(), IndexFile::draw_index(), TrackCanvas::draw_indexes(), TrackCanvas::draw_loop_points(), TrackCanvas::draw_paste_destination(), MTimeBar::draw_range(), MTimeBar::draw_time(), TrackCanvas::draw_transitions(), TrackCanvas::edit_dimensions(), MWindow::expand_sample(), MWindow::find_cursor(), MWindow::fit_selection(), Edit::frame_w(), VTrack::get_dimensions(), ATrack::get_dimensions(), TrackCanvas::get_drop_position(), FloatAutos::get_extents(), Tracking::get_pixel(), MWindow::goto_end(), Track::horizontal_span(), load_defaults(), load_xml(), LocalSession(), MWindow::next_edit_handle(), MWindow::next_label(), TrackCanvas::plugin_dimensions(), MTimeBar::position_to_pixel(), MWindow::prev_edit_handle(), MWindow::prev_label(), ZoomBar::redraw_time_dependancies(), TrackCanvas::repeat_event(), save_defaults(), save_xml(), SampleScroll::set_position(), TrackCanvas::test_toggleline(), TrackCanvas::time_visible(), ZoomBar::update(), TimeBar::update_cursor(), TrackCanvas::update_drag_handle(), CTracking::update_scroll(), MWindow::zoom_in_sample(), and MWindow::zoom_sample().

double LocalSession::selectionstart [private]

double LocalSession::selectionend [private]

double LocalSession::in_point [private]

double LocalSession::out_point [private]


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

Generated on Mon Apr 28 14:29:48 2008 for Cinelerra by  doxygen 1.5.5