Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::NS_MCU::SurfacePort Class Reference

#include <surface_port.h>

Public Member Functions

 SurfacePort (Surface &)
 
virtual ~SurfacePort ()
 
int write (const MidiByteArray &)
 an easier way to output bytes via midi More...
 
MIDI::Portinput_port () const
 
MIDI::Portoutput_port () const
 
ARDOUR::Portinput () const
 
ARDOUR::Portoutput () const
 
std::string input_name () const
 
std::string output_name () const
 
void reconnect ()
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 

Private Attributes

Surface_surface
 
MIDI::Port_input_port
 
MIDI::Port_output_port
 
std::shared_ptr< ARDOUR::Port_async_in
 
std::shared_ptr< ARDOUR::Port_async_out
 

Detailed Description

Make a relationship between a midi port and a Mackie device.

Definition at line 50 of file mackie/surface_port.h.

Constructor & Destructor Documentation

◆ SurfacePort()

ArdourSurface::NS_MCU::SurfacePort::SurfacePort ( Surface )

◆ ~SurfacePort()

virtual ArdourSurface::NS_MCU::SurfacePort::~SurfacePort ( )
virtual

Member Function Documentation

◆ get_state()

XMLNode& ArdourSurface::NS_MCU::SurfacePort::get_state ( ) const

◆ input()

ARDOUR::Port& ArdourSurface::NS_MCU::SurfacePort::input ( ) const
inline

Definition at line 62 of file mackie/surface_port.h.

◆ input_name()

std::string ArdourSurface::NS_MCU::SurfacePort::input_name ( ) const

◆ input_port()

MIDI::Port& ArdourSurface::NS_MCU::SurfacePort::input_port ( ) const
inline

Definition at line 59 of file mackie/surface_port.h.

◆ output()

ARDOUR::Port& ArdourSurface::NS_MCU::SurfacePort::output ( ) const
inline

Definition at line 63 of file mackie/surface_port.h.

◆ output_name()

std::string ArdourSurface::NS_MCU::SurfacePort::output_name ( ) const

◆ output_port()

MIDI::Port& ArdourSurface::NS_MCU::SurfacePort::output_port ( ) const
inline

Definition at line 60 of file mackie/surface_port.h.

◆ reconnect()

void ArdourSurface::NS_MCU::SurfacePort::reconnect ( )

◆ set_state()

int ArdourSurface::NS_MCU::SurfacePort::set_state ( const XMLNode ,
int  version 
)

◆ write()

int ArdourSurface::NS_MCU::SurfacePort::write ( const MidiByteArray )

an easier way to output bytes via midi

Member Data Documentation

◆ _async_in

std::shared_ptr<ARDOUR::Port> ArdourSurface::NS_MCU::SurfacePort::_async_in
private

Definition at line 79 of file mackie/surface_port.h.

◆ _async_out

std::shared_ptr<ARDOUR::Port> ArdourSurface::NS_MCU::SurfacePort::_async_out
private

Definition at line 80 of file mackie/surface_port.h.

◆ _input_port

MIDI::Port* ArdourSurface::NS_MCU::SurfacePort::_input_port
private

Definition at line 77 of file mackie/surface_port.h.

◆ _output_port

MIDI::Port* ArdourSurface::NS_MCU::SurfacePort::_output_port
private

Definition at line 78 of file mackie/surface_port.h.

◆ _surface

Surface* ArdourSurface::NS_MCU::SurfacePort::_surface
private

Definition at line 76 of file mackie/surface_port.h.


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