JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Block::ConnectionPort Struct Reference

These are the edge-connectors that a device may have. More...

#include <juce_Block.h>

Collaboration diagram for juce::Block::ConnectionPort:

Public Types

enum  DeviceEdge {
  DeviceEdge::north,
  DeviceEdge::south,
  DeviceEdge::east,
  DeviceEdge::west
}
 

Public Member Functions

bool operator!= (const ConnectionPort &) const noexcept
 
bool operator== (const ConnectionPort &) const noexcept
 

Public Attributes

DeviceEdge edge
 The side of the device on which this port is located. More...
 
int index
 The index of this port along the device edge. More...
 

Detailed Description

These are the edge-connectors that a device may have.

Member Enumeration Documentation

◆ DeviceEdge

Enumerator
north 
south 
east 
west 

Member Function Documentation

◆ operator!=()

bool juce::Block::ConnectionPort::operator!= ( const ConnectionPort ) const
noexcept

◆ operator==()

bool juce::Block::ConnectionPort::operator== ( const ConnectionPort ) const
noexcept

Member Data Documentation

◆ edge

DeviceEdge juce::Block::ConnectionPort::edge

The side of the device on which this port is located.

◆ index

int juce::Block::ConnectionPort::index

The index of this port along the device edge.

For north and south edges, index 0 is the left-most port. For east and west edges, index 0 is the top-most port.


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