ChannelDB Class Reference

#include <channeldb.h>

Collaboration diagram for ChannelDB:

Collaboration graph
[legend]

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)

Data Fields

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, and ArrayList< TYPE >::remove_all_objects().

Here is the call graph for this function:


Member Function Documentation

void ChannelDB::load ( char *  prefix  ) 

void ChannelDB::save ( char *  prefix  ) 

void ChannelDB::copy_from ( ChannelDB src  ) 

Definition at line 80 of file channeldb.C.

References ArrayList< TYPE >::append(), channels, clear(), Channel::copy_settings(), get(), and size().

Referenced by ChannelEditThread::run().

Here is the call graph for this function:

void ChannelDB::clear (  ) 

Definition at line 96 of file channeldb.C.

References channels, and ArrayList< TYPE >::remove_all_objects().

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

Here is the call graph for this function:

Channel * ChannelDB::get ( int  number  ) 

int ChannelDB::size (  ) 

void ChannelDB::append ( Channel channel  ) 

Definition at line 101 of file channeldb.C.

References ArrayList< TYPE >::append(), and channels.

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

Here is the call graph for this function:

void ChannelDB::remove_number ( int  number  ) 

Definition at line 106 of file channeldb.C.

References channels, and ArrayList< TYPE >::remove_number().

Referenced by ChannelEditWindow::delete_channel().

Here is the call graph for this function:

void ChannelDB::set ( int  number,
Channel ptr 
)

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

Definition at line 19 of file channeldb.C.

References BCASTDIR, BCTEXTLEN, FileSystem::complete_path(), and FileSystem::join_names().

Referenced by load(), and save().

Here is the call graph for this function:


Field Documentation

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 Mon Apr 28 14:17:47 2008 for Cinelerra by  doxygen 1.5.5