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

Basic export channel that reads from AudioPorts. More...

#include <export_channel.h>

Inheritance diagram for ARDOUR::PortExportChannel:
ARDOUR::ExportChannel

Public Types

typedef std::set
< boost::weak_ptr< AudioPort > > 
PortSet
 

Public Member Functions

 PortExportChannel ()
 
void set_max_buffer_size (framecnt_t frames)
 
void read (Sample const *&data, framecnt_t frames) const
 
bool empty () const
 
void get_state (XMLNode *node) const
 Adds state to node passed. More...
 
void set_state (XMLNode *node, Session &session)
 Sets state from node passed. More...
 
bool operator< (ExportChannel const &other) const
 
void add_port (boost::weak_ptr< AudioPort > port)
 
PortSet const & get_ports ()
 
- Public Member Functions inherited from ARDOUR::ExportChannel
virtual ~ExportChannel ()
 

Private Attributes

PortSet ports
 
boost::scoped_array< Samplebuffer
 
framecnt_t buffer_size
 

Detailed Description

Basic export channel that reads from AudioPorts.

Definition at line 65 of file export_channel.h.

Member Typedef Documentation

Definition at line 68 of file export_channel.h.

Constructor & Destructor Documentation

PortExportChannel::PortExportChannel ( )

Definition at line 37 of file export_channel.cc.

Member Function Documentation

void ARDOUR::PortExportChannel::add_port ( boost::weak_ptr< AudioPort port)
inline

Definition at line 81 of file export_channel.h.

bool ARDOUR::PortExportChannel::empty ( ) const
inlinevirtual

Implements ARDOUR::ExportChannel.

Definition at line 74 of file export_channel.h.

PortSet const& ARDOUR::PortExportChannel::get_ports ( )
inline

Definition at line 82 of file export_channel.h.

void PortExportChannel::get_state ( XMLNode node) const
virtual

Adds state to node passed.

Implements ARDOUR::ExportChannel.

Definition at line 87 of file export_channel.cc.

bool PortExportChannel::operator< ( ExportChannel const &  other) const
virtual

Implements ARDOUR::ExportChannel.

Definition at line 49 of file export_channel.cc.

void PortExportChannel::read ( Sample const *&  data,
framecnt_t  frames 
) const
virtual

Implements ARDOUR::ExportChannel.

Definition at line 59 of file export_channel.cc.

void PortExportChannel::set_max_buffer_size ( framecnt_t  frames)
virtual

Reimplemented from ARDOUR::ExportChannel.

Definition at line 42 of file export_channel.cc.

void PortExportChannel::set_state ( XMLNode node,
Session session 
)
virtual

Sets state from node passed.

Implements ARDOUR::ExportChannel.

Definition at line 99 of file export_channel.cc.

Member Data Documentation

boost::scoped_array<Sample> ARDOUR::PortExportChannel::buffer
private

Definition at line 86 of file export_channel.h.

framecnt_t ARDOUR::PortExportChannel::buffer_size
private

Definition at line 87 of file export_channel.h.

PortSet ARDOUR::PortExportChannel::ports
private

Definition at line 85 of file export_channel.h.


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