SwapMain Class Reference

#include <swapchannels.h>

Inherits PluginVClient.

Collaboration diagram for SwapMain:

Collaboration graph
[legend]

Public Member Functions

 SwapMain (PluginServer *server)
 ~SwapMain ()
int process_realtime (VFrame *input_ptr, VFrame *output_ptr)
int is_realtime ()
int is_synthesis ()
char * plugin_title ()
VFramenew_picon ()
int show_gui ()
void raise_window ()
void update_gui ()
int set_string ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
void reset ()
void load_configuration ()
int load_defaults ()
int save_defaults ()
char * output_to_text (int value)
int text_to_output (char *text)

Data Fields

VFrametemp
SwapConfig config
SwapThread * thread
BC_Hashdefaults

Detailed Description

Definition at line 90 of file swapchannels.h.


Constructor & Destructor Documentation

SwapMain::SwapMain ( PluginServer server  ) 

Definition at line 176 of file swapchannels.C.

References PLUGIN_CONSTRUCTOR_MACRO, and BC_MenuItem::reset().

Here is the call graph for this function:

SwapMain::~SwapMain (  ) 

Definition at line 183 of file swapchannels.C.

References PLUGIN_DESTRUCTOR_MACRO, and temp.


Member Function Documentation

int SwapMain::process_realtime ( VFrame input_ptr,
VFrame output_ptr 
) [virtual]

int SwapMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 198 of file swapchannels.C.

int SwapMain::is_synthesis (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 197 of file swapchannels.C.

char * SwapMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 196 of file swapchannels.C.

References N_.

VFrame* SwapMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

int SwapMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void SwapMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

void SwapMain::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 277 of file swapchannels.C.

References SwapConfig::alpha, SwapConfig::blue, config, SwapConfig::green, load_configuration(), output_to_text(), SwapConfig::red, and thread.

Here is the call graph for this function:

int SwapMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

void SwapMain::save_data ( KeyFrame keyframe  )  [virtual]

void SwapMain::read_data ( KeyFrame keyframe  )  [virtual]

void SwapMain::reset (  ) 

Reimplemented from PluginClient.

Definition at line 190 of file swapchannels.C.

References temp.

void SwapMain::load_configuration (  ) 

Definition at line 292 of file swapchannels.C.

References PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().

Referenced by process_realtime(), and update_gui().

Here is the call graph for this function:

int SwapMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 206 of file swapchannels.C.

References SwapConfig::alpha, BCASTDIR, SwapConfig::blue, config, defaults, BC_Hash::get(), SwapConfig::green, BC_Hash::load(), and SwapConfig::red.

Here is the call graph for this function:

int SwapMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 223 of file swapchannels.C.

References SwapConfig::alpha, SwapConfig::blue, config, defaults, SwapConfig::green, SwapConfig::red, BC_Hash::save(), and BC_Hash::update().

Here is the call graph for this function:

char * SwapMain::output_to_text ( int  value  ) 

Definition at line 424 of file swapchannels.C.

References _, ALPHA_SRC, BLUE_SRC, GREEN_SRC, MAX_SRC, NO_SRC, and RED_SRC.

Referenced by SwapMenu::create_objects(), and update_gui().

int SwapMain::text_to_output ( char *  text  ) 

Definition at line 452 of file swapchannels.C.

References _, ALPHA_SRC, BLUE_SRC, GREEN_SRC, MAX_SRC, NO_SRC, and RED_SRC.

Referenced by SwapItem::handle_event().


Field Documentation

Reimplemented from PluginVClient.

Definition at line 127 of file swapchannels.h.

Referenced by process_realtime(), reset(), and ~SwapMain().

SwapThread* SwapMain::thread

Definition at line 129 of file swapchannels.h.

Referenced by update_gui().

Definition at line 130 of file swapchannels.h.

Referenced by load_defaults(), and save_defaults().


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

Generated on Mon Apr 28 14:44:16 2008 for Cinelerra by  doxygen 1.5.5