#include <ipmidi_port.h>
Definition at line 59 of file ipmidi_port.h.
◆ IPMIDIPort() [1/2]
◆ IPMIDIPort() [2/2]
MIDI::IPMIDIPort::IPMIDIPort |
( |
const XMLNode & |
| ) |
|
◆ ~IPMIDIPort()
MIDI::IPMIDIPort::~IPMIDIPort |
( |
| ) |
|
◆ close_sockets()
void MIDI::IPMIDIPort::close_sockets |
( |
| ) |
|
|
private |
◆ get_state()
XMLNode& MIDI::IPMIDIPort::get_state |
( |
| ) |
const |
|
virtual |
◆ init()
void MIDI::IPMIDIPort::init |
( |
std::string const & |
, |
|
|
Flags |
|
|
) |
| |
|
private |
◆ open_sockets()
bool MIDI::IPMIDIPort::open_sockets |
( |
int |
base_port, |
|
|
const std::string & |
ifname |
|
) |
| |
|
private |
◆ parse()
◆ read()
int MIDI::IPMIDIPort::read |
( |
byte * |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
|
virtual |
Read raw bytes from a port.
- Parameters
-
buf | memory to store read data in |
bufsize | size of buf |
- Returns
- number of bytes successfully read, negative if error
Implements MIDI::Port.
◆ selectable()
int MIDI::IPMIDIPort::selectable |
( |
| ) |
const |
|
virtual |
Get the file descriptor for port.
- Returns
- File descriptor, or -1 if not selectable.
Implements MIDI::Port.
◆ set_state()
void MIDI::IPMIDIPort::set_state |
( |
const XMLNode & |
| ) |
|
|
virtual |
◆ write()
int MIDI::IPMIDIPort::write |
( |
const byte * |
msg, |
|
|
size_t |
msglen, |
|
|
timestamp_t |
timestamp |
|
) |
| |
|
virtual |
Write a message to port.
- Parameters
-
msg | Raw MIDI message to send |
msglen | Size of msg |
timestamp | Time stamp in samples of this message (relative to cycle start) |
- Returns
- number of bytes successfully written
Implements MIDI::Port.
◆ addrout
struct sockaddr_in MIDI::IPMIDIPort::addrout |
|
private |
◆ lowest_ipmidi_port_default
const int MIDI::IPMIDIPort::lowest_ipmidi_port_default = 21928 |
|
static |
◆ sockin
int MIDI::IPMIDIPort::sockin |
|
private |
◆ sockout
int MIDI::IPMIDIPort::sockout |
|
private |
◆ write_lock
Glib::Threads::Mutex MIDI::IPMIDIPort::write_lock |
|
private |
The documentation for this class was generated from the following file: