NAP
Public Member Functions | List of all members
InputPinBase Class Referenceabstract

#include <audio/core/audiopin.h>

Public Member Functions

 InputPinBase (Node *node)
 
virtual ~InputPinBase ()
 
void connect (OutputPin &input)
 
void disconnect (OutputPin &input)
 
void disconnectAll ()
 
NodegetNode ()
 

Description

Interface for InputPin and MultiInputPin classes

Inheritance diagram for InputPinBase:
[legend]

Constructor & Destructor Documentation

◆ InputPinBase()

InputPinBase ( Node node)

◆ ~InputPinBase()

virtual ~InputPinBase ( )
virtual

Member Function Documentation

◆ connect()

void connect ( OutputPin input)

Connects a pin to this input. Disconnects the current connection first if necessary. For threadsafety connection is enqueued on the audio thread.

◆ disconnect()

void disconnect ( OutputPin input)

Disconnects a pin from this input, if it is connected. For threadsafety connection is enqueued on the audio thread.

◆ disconnectAll()

void disconnectAll ( )

Disconnects all pins connected to this pint. For threadsafety connection is enqueued on the audio thread.

◆ getNode()

Node& getNode ( )
Returns
the node that owns this input.