ardour
|
#include <port.h>
Public Member Functions | |
virtual | ~Port () |
std::string | name () const |
std::string | pretty_name (bool fallback_to_name=false) const |
int | set_name (std::string const &) |
PortFlags | flags () const |
bool | receives_input () const |
bool | sends_output () const |
bool | connected () const |
int | disconnect_all () |
int | get_connections (std::vector< std::string > &) const |
bool | connected_to (std::string const &) const |
int | connect (std::string const &) |
int | disconnect (std::string const &) |
bool | connected_to (Port *) const |
virtual int | connect (Port *) |
int | disconnect (Port *) |
void | request_input_monitoring (bool) |
void | ensure_input_monitoring (bool) |
bool | monitoring_input () const |
int | reestablish () |
int | reconnect () |
bool | last_monitor () const |
void | set_last_monitor (bool yn) |
PortEngine::PortHandle | port_handle () |
void | get_connected_latency_range (LatencyRange &range, bool playback) const |
void | set_private_latency_range (LatencyRange &range, bool playback) |
const LatencyRange & | private_latency_range (bool playback) const |
void | set_public_latency_range (LatencyRange &range, bool playback) const |
LatencyRange | public_latency_range (bool playback) const |
virtual void | reset () |
virtual DataType | type () const =0 |
virtual void | cycle_start (pframes_t) |
virtual void | cycle_end (pframes_t)=0 |
virtual void | cycle_split ()=0 |
virtual Buffer & | get_buffer (pframes_t nframes)=0 |
virtual void | flush_buffers (pframes_t) |
virtual void | transport_stopped () |
virtual void | realtime_locate () |
bool | physically_connected () const |
virtual void | increment_port_buffer_offset (pframes_t n) |
virtual XMLNode & | get_state (void) const |
virtual int | set_state (const XMLNode &, int version) |
Static Public Member Functions | |
static void | set_connecting_blocked (bool yn) |
static bool | connecting_blocked () |
static void | set_cycle_framecnt (pframes_t n) |
static framecnt_t | port_offset () |
static void | set_global_port_buffer_offset (pframes_t off) |
static void | increment_global_port_buffer_offset (pframes_t n) |
Public Attributes | |
PBD::Signal1< void, bool > | MonitorInputChanged |
Static Public Attributes | |
static PBD::Signal2< void, boost::shared_ptr< Port > , boost::shared_ptr< Port > > | PostDisconnect |
static PBD::Signal0< void > | PortDrop |
static std::string | state_node_name = X_("Port") |
Protected Member Functions | |
Port (std::string const &, DataType, PortFlags) | |
Protected Attributes | |
PortEngine::PortHandle | _port_handle |
framecnt_t | _port_buffer_offset |
LatencyRange | _private_playback_latency |
LatencyRange | _private_capture_latency |
Static Protected Attributes | |
static bool | _connecting_blocked = false |
static pframes_t | _global_port_buffer_offset = 0 |
static pframes_t | _cycle_nframes = 0 |
Private Member Functions | |
void | drop () |
Private Attributes | |
std::string | _name |
port short name More... | |
PortFlags | _flags |
flags More... | |
bool | _last_monitor |
std::set< std::string > | _connections |
PBD::ScopedConnection | drop_connection |
bool Port::connected | ( | ) | const |
bool Port::connected_to | ( | std::string const & | o | ) | const |
|
pure virtual |
Implemented in ARDOUR::AsyncMIDIPort, ARDOUR::MidiPort, and ARDOUR::AudioPort.
|
pure virtual |
Implemented in ARDOUR::MidiPort, and ARDOUR::AudioPort.
|
virtual |
Reimplemented in ARDOUR::AsyncMIDIPort, ARDOUR::MidiPort, and ARDOUR::AudioPort.
|
inlinevirtual |
Reimplemented in ARDOUR::MidiPort.
Implemented in ARDOUR::MidiPort, and ARDOUR::AudioPort.
void Port::get_connected_latency_range | ( | LatencyRange & | range, |
bool | playback | ||
) | const |
int Port::get_connections | ( | std::vector< std::string > & | c | ) | const |
|
inlinestatic |
|
virtual |
|
inline |
|
inline |
|
inlinestatic |
std::string Port::pretty_name | ( | bool | fallback_to_name = false | ) | const |
const LatencyRange & Port::private_latency_range | ( | bool | playback | ) | const |
LatencyRange Port::public_latency_range | ( | bool | playback | ) | const |
|
inlinevirtual |
Reimplemented in ARDOUR::MidiPort.
|
inline |
|
virtual |
Reimplemented in ARDOUR::MidiPort.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
int Port::set_name | ( | std::string const & | n | ) |
void Port::set_private_latency_range | ( | LatencyRange & | range, |
bool | playback | ||
) |
void Port::set_public_latency_range | ( | LatencyRange & | range, |
bool | playback | ||
) | const |
|
virtual |
|
inlinevirtual |
Reimplemented in ARDOUR::MidiPort.
|
pure virtual |
Implemented in ARDOUR::MidiPort, and ARDOUR::AudioPort.
|
private |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
static |