Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ChannelDB Class Reference

#include <channeldb.h>

List of all members.

Public Member Functions

 ChannelDB ()
 ~ChannelDB ()
void load (char *prefix)
void save (char *prefix)
void copy_from (ChannelDB *src)
void clear ()
Channelget (int number)
int size ()
void append (Channel *channel)
void remove_number (int number)
void set (int number, Channel *ptr)
char * prefix_to_path (char *path, char *prefix)

Public Attributes

ArrayList< Channel * > channels


Detailed Description

Definition at line 7 of file channeldb.h.


Constructor & Destructor Documentation

ChannelDB::ChannelDB  ) 
 

Definition at line 10 of file channeldb.C.

ChannelDB::~ChannelDB  ) 
 

Definition at line 14 of file channeldb.C.

References channels.


Member Function Documentation

void ChannelDB::append Channel channel  ) 
 

Definition at line 101 of file channeldb.C.

References channels.

Referenced by ChannelEditWindow::add_channel(), and ScanThread::run().

void ChannelDB::clear  ) 
 

Definition at line 96 of file channeldb.C.

References channels.

Referenced by copy_from(), ChannelEditThread::run(), and ChannelEditWindow::scan().

void ChannelDB::copy_from ChannelDB src  ) 
 

Definition at line 80 of file channeldb.C.

References channels, clear(), Channel::copy_settings(), get(), and size().

Referenced by ChannelEditThread::run().

Channel * ChannelDB::get int  number  ) 
 

Definition at line 72 of file channeldb.C.

References channels.

Referenced by ChannelEditWindow::add_channel(), ChannelEditWindow::change_channel_from_list(), copy_from(), ChannelEditWindow::create_objects(), ChannelEditWindow::delete_channel(), ChannelEditWindow::edit_channel(), RenderEngine::get_current_channel(), Record::get_current_channel_struct(), PrefsChannelPicker::get_current_channel_struct(), Batch::get_current_channel_struct(), ChannelEditWindow::move_channel_down(), ChannelEditWindow::move_channel_up(), Record::set_channel(), ChannelEditWindow::sort(), Record::source_to_text(), ChannelPicker::update_channel_list(), and ChannelEditWindow::update_list().

void ChannelDB::load char *  prefix  ) 
 

Definition at line 29 of file channeldb.C.

References channels, Channel::load(), prefix_to_path(), and FileXML::read_from_file().

Referenced by MWindow::init_channeldb(), and Record::run().

char * ChannelDB::prefix_to_path char *  path,
char *  prefix
 

Definition at line 19 of file channeldb.C.

References BCASTDIR.

Referenced by load(), and save().

void ChannelDB::remove_number int  number  ) 
 

Definition at line 106 of file channeldb.C.

References channels.

Referenced by ChannelEditWindow::delete_channel().

void ChannelDB::save char *  prefix  ) 
 

Definition at line 53 of file channeldb.C.

References channels, prefix_to_path(), FileXML::terminate_string(), and FileXML::write_to_file().

Referenced by Record::run(), and ChannelEditThread::run().

void ChannelDB::set int  number,
Channel ptr
 

Definition at line 111 of file channeldb.C.

References channels.

Referenced by ChannelEditWindow::move_channel_down(), ChannelEditWindow::move_channel_up(), and ChannelEditWindow::sort().

int ChannelDB::size  ) 
 

Definition at line 91 of file channeldb.C.

References channels.

Referenced by ChannelEditWindow::add_channel(), ChannelEditWindow::change_channel_from_list(), ChannelPicker::channel_down(), ChannelPicker::channel_up(), copy_from(), ChannelEditWindow::create_objects(), ChannelEditWindow::delete_channel(), RenderEngine::get_current_channel(), Record::get_current_channel_struct(), PrefsChannelPicker::get_current_channel_struct(), Batch::get_current_channel_struct(), ChannelEditWindow::move_channel_down(), ChannelEditWindow::move_channel_up(), Record::set_channel(), PrefsChannelPicker::set_channel_number(), ChannelEditWindow::sort(), Record::source_to_text(), ChannelPicker::update_channel_list(), and ChannelEditWindow::update_list().


Member Data Documentation

ArrayList<Channel*> ChannelDB::channels
 

Definition at line 25 of file channeldb.h.

Referenced by append(), clear(), copy_from(), get(), load(), remove_number(), save(), set(), size(), and ~ChannelDB().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:11 2006 for Cinelerra-svn by  doxygen 1.4.4