Ardour  9.0-pre0-384-ga76afae0e9
ArdourSurface::US2400::SurfacePort Class Reference

#include <surface_port.h>

Public Member Functions

 SurfacePort (US2400::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

US2400::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 54 of file us2400/surface_port.h.

Constructor & Destructor Documentation

◆ SurfacePort()

ArdourSurface::US2400::SurfacePort::SurfacePort ( US2400::Surface )

◆ ~SurfacePort()

virtual ArdourSurface::US2400::SurfacePort::~SurfacePort ( )
virtual

Member Function Documentation

◆ get_state()

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

◆ input()

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

Definition at line 66 of file us2400/surface_port.h.

◆ input_name()

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

◆ input_port()

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

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

◆ output()

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

Definition at line 67 of file us2400/surface_port.h.

◆ output_name()

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

◆ output_port()

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

Definition at line 64 of file us2400/surface_port.h.

◆ reconnect()

void ArdourSurface::US2400::SurfacePort::reconnect ( )

◆ set_state()

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

◆ write()

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

an easier way to output bytes via midi

Member Data Documentation

◆ _async_in

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

Definition at line 83 of file us2400/surface_port.h.

◆ _async_out

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

Definition at line 84 of file us2400/surface_port.h.

◆ _input_port

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

Definition at line 81 of file us2400/surface_port.h.

◆ _output_port

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

Definition at line 82 of file us2400/surface_port.h.

◆ _surface

US2400::Surface* ArdourSurface::US2400::SurfacePort::_surface
private

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


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