Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::RouteExportChannel Class Reference

Export channel for exporting from different positions in a route. More...

#include <export_channel.h>

Inheritance diagram for ARDOUR::RouteExportChannel:
[legend]

Classes

class  ProcessorRemover
 

Public Member Functions

 RouteExportChannel (std::shared_ptr< CapturingProcessor > processor, DataType type, size_t channel, std::shared_ptr< ProcessorRemover > remover)
 
 ~RouteExportChannel ()
 
void prepare_export (samplecnt_t max_samples, sampleoffset_t common_latency)
 
void read (Buffer const *&, samplecnt_t samples) const
 
bool empty () const
 
bool audio () const
 
bool midi () const
 
std::shared_ptr< Routeroute () const
 
std::string state_node_name () 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
 
- Public Member Functions inherited from ARDOUR::ExportChannel
virtual ~ExportChannel ()
 
virtual samplecnt_t common_port_playback_latency () const
 

Static Public Member Functions

static void create_from_route (std::list< ExportChannelPtr > &result, std::shared_ptr< Route > route)
 
static void create_from_state (std::list< ExportChannelPtr > &result, Session &, XMLNode *)
 

Private Attributes

std::shared_ptr< CapturingProcessor_processor
 
DataType _type
 
size_t _channel
 
std::shared_ptr< ProcessorRemover_remover
 

Detailed Description

Export channel for exporting from different positions in a route.

Definition at line 225 of file export_channel.h.

Constructor & Destructor Documentation

◆ RouteExportChannel()

ARDOUR::RouteExportChannel::RouteExportChannel ( std::shared_ptr< CapturingProcessor processor,
DataType  type,
size_t  channel,
std::shared_ptr< ProcessorRemover remover 
)

◆ ~RouteExportChannel()

ARDOUR::RouteExportChannel::~RouteExportChannel ( )

Member Function Documentation

◆ audio()

bool ARDOUR::RouteExportChannel::audio ( ) const
virtual

Reimplemented from ARDOUR::ExportChannel.

◆ create_from_route()

static void ARDOUR::RouteExportChannel::create_from_route ( std::list< ExportChannelPtr > &  result,
std::shared_ptr< Route route 
)
static

◆ create_from_state()

static void ARDOUR::RouteExportChannel::create_from_state ( std::list< ExportChannelPtr > &  result,
Session ,
XMLNode  
)
static

◆ empty()

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

Implements ARDOUR::ExportChannel.

Definition at line 245 of file export_channel.h.

◆ get_state()

void ARDOUR::RouteExportChannel::get_state ( XMLNode node) const
virtual

Adds state to node passed.

Implements ARDOUR::ExportChannel.

◆ midi()

bool ARDOUR::RouteExportChannel::midi ( ) const
virtual

Reimplemented from ARDOUR::ExportChannel.

◆ operator<()

bool ARDOUR::RouteExportChannel::operator< ( ExportChannel const &  other) const
virtual

Implements ARDOUR::ExportChannel.

◆ prepare_export()

void ARDOUR::RouteExportChannel::prepare_export ( samplecnt_t  max_samples,
sampleoffset_t  common_latency 
)
virtual

Reimplemented from ARDOUR::ExportChannel.

◆ read()

void ARDOUR::RouteExportChannel::read ( Buffer const *&  ,
samplecnt_t  samples 
) const
virtual

Implements ARDOUR::ExportChannel.

◆ route()

std::shared_ptr<Route> ARDOUR::RouteExportChannel::route ( ) const
inline

Definition at line 250 of file export_channel.h.

◆ set_state()

void ARDOUR::RouteExportChannel::set_state ( XMLNode node,
Session session 
)
virtual

Sets state from node passed.

Implements ARDOUR::ExportChannel.

◆ state_node_name()

std::string ARDOUR::RouteExportChannel::state_node_name ( ) const
inlinevirtual

Implements ARDOUR::ExportChannel.

Definition at line 252 of file export_channel.h.

Member Data Documentation

◆ _channel

size_t ARDOUR::RouteExportChannel::_channel
private

Definition at line 281 of file export_channel.h.

◆ _processor

std::shared_ptr<CapturingProcessor> ARDOUR::RouteExportChannel::_processor
private

Definition at line 278 of file export_channel.h.

◆ _remover

std::shared_ptr<ProcessorRemover> ARDOUR::RouteExportChannel::_remover
private

Definition at line 285 of file export_channel.h.

◆ _type

DataType ARDOUR::RouteExportChannel::_type
private

Definition at line 280 of file export_channel.h.


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