ardour
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ARDOUR::ExportChannelConfiguration Class Reference

#include <export_channel_configuration.h>

Inheritance diagram for ARDOUR::ExportChannelConfiguration:
boost::enable_shared_from_this< ExportChannelConfiguration >

Public Types

typedef std::list
< ExportChannelPtr
ChannelList
 

Public Member Functions

bool operator== (ExportChannelConfiguration const &other) const
 
bool operator!= (ExportChannelConfiguration const &other) const
 
XMLNodeget_state ()
 
int set_state (const XMLNode &)
 
ChannelList const & get_channels () const
 
bool all_channels_have_ports () const
 
std::string name () const
 
void set_name (std::string name)
 
void set_split (bool value)
 
RegionExportChannelFactory::Type region_processing_type () const
 
void set_region_processing_type (RegionExportChannelFactory::Type type)
 
bool get_split () const
 
uint32_t get_n_chans () const
 
void register_channel (ExportChannelPtr channel)
 
void register_channels (ChannelList const &new_channels)
 
void clear_channels ()
 
void configurations_for_files (std::list< boost::shared_ptr< ExportChannelConfiguration > > &configs)
 

Private Member Functions

 ExportChannelConfiguration (Session &session)
 

Private Attributes

Sessionsession
 
ChannelList channels
 
bool split
 
std::string _name
 
RegionExportChannelFactory::Type region_type
 

Friends

class ExportElementFactory
 

Detailed Description

Definition at line 40 of file export_channel_configuration.h.

Member Typedef Documentation

Definition at line 54 of file export_channel_configuration.h.

Constructor & Destructor Documentation

ARDOUR::ExportChannelConfiguration::ExportChannelConfiguration ( Session session)
private

Definition at line 34 of file export_channel_configuration.cc.

Member Function Documentation

bool ARDOUR::ExportChannelConfiguration::all_channels_have_ports ( ) const

Definition at line 99 of file export_channel_configuration.cc.

void ARDOUR::ExportChannelConfiguration::clear_channels ( )
inline

Definition at line 73 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::configurations_for_files ( std::list< boost::shared_ptr< ExportChannelConfiguration > > &  configs)

Returns a list of channel configurations that match the files created. I.e. many configurations if splitting is enabled, one if not.

Definition at line 109 of file export_channel_configuration.cc.

ChannelList const& ARDOUR::ExportChannelConfiguration::get_channels ( ) const
inline

Definition at line 56 of file export_channel_configuration.h.

uint32_t ARDOUR::ExportChannelConfiguration::get_n_chans ( ) const
inline

Definition at line 67 of file export_channel_configuration.h.

bool ARDOUR::ExportChannelConfiguration::get_split ( ) const
inline

Definition at line 66 of file export_channel_configuration.h.

XMLNode & ARDOUR::ExportChannelConfiguration::get_state ( void  )

Definition at line 43 of file export_channel_configuration.cc.

std::string ARDOUR::ExportChannelConfiguration::name ( ) const
inline

Definition at line 59 of file export_channel_configuration.h.

bool ARDOUR::ExportChannelConfiguration::operator!= ( ExportChannelConfiguration const &  other) const
inline

Definition at line 49 of file export_channel_configuration.h.

bool ARDOUR::ExportChannelConfiguration::operator== ( ExportChannelConfiguration const &  other) const
inline

Definition at line 48 of file export_channel_configuration.h.

RegionExportChannelFactory::Type ARDOUR::ExportChannelConfiguration::region_processing_type ( ) const
inline

Definition at line 63 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::register_channel ( ExportChannelPtr  channel)
inline

Definition at line 69 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::register_channels ( ChannelList const &  new_channels)
inline

Definition at line 70 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::set_name ( std::string  name)
inline

Definition at line 60 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::set_region_processing_type ( RegionExportChannelFactory::Type  type)
inline

Definition at line 64 of file export_channel_configuration.h.

void ARDOUR::ExportChannelConfiguration::set_split ( bool  value)
inline

Definition at line 61 of file export_channel_configuration.h.

int ARDOUR::ExportChannelConfiguration::set_state ( const XMLNode root)

Definition at line 75 of file export_channel_configuration.cc.

Friends And Related Function Documentation

friend class ExportElementFactory
friend

Definition at line 44 of file export_channel_configuration.h.

Member Data Documentation

std::string ARDOUR::ExportChannelConfiguration::_name
private

Definition at line 85 of file export_channel_configuration.h.

ChannelList ARDOUR::ExportChannelConfiguration::channels
private

Definition at line 83 of file export_channel_configuration.h.

RegionExportChannelFactory::Type ARDOUR::ExportChannelConfiguration::region_type
private

Definition at line 86 of file export_channel_configuration.h.

Session& ARDOUR::ExportChannelConfiguration::session
private

Definition at line 81 of file export_channel_configuration.h.

bool ARDOUR::ExportChannelConfiguration::split
private

Definition at line 84 of file export_channel_configuration.h.


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