#include <iso_visual_patch.h>
Inherits iso::visual::PatchPort.
Inherited by iso::visual::TypedPatchInputPort< DataType >.
Inheritance diagram for iso::visual::PatchInputPort:
Public Member Functions | |
PatchInputPort (const base::String &pName, PatchNode *pNode) | |
constructor | |
~PatchInputPort () | |
destructor | |
int | connectionCount () const |
return number of connections (0 or 1) | |
virtual void | set (const PatchNodeData &pData) |
check if variable associated with this input port has changed directly set input port data | |
virtual void | connect (PatchOutputPort &pOutputPort) |
connect input port to output port | |
virtual void | disconnect () |
disconnect input port from output port | |
virtual void | update () |
update input port | |
Protected Attributes | |
PatchOutputPort * | mOutputPort |
a patch input port class that links a node to some external data.
This data is either provided manually by setting the port to a particular value,
or it is automatically provided by another node via a connection to this other node's output port.
An input port can be connected only to one single output port
PatchInputPort::PatchInputPort | ( | const base::String & | pName, | |
PatchNode * | pNode | |||
) |
constructor
pName | name of input port | |
pNode | node this input port is part of |
PatchInputPort::~PatchInputPort | ( | ) |
destructor
int PatchInputPort::connectionCount | ( | ) | const |
return number of connections (0 or 1)
void PatchInputPort::set | ( | const PatchNodeData & | pData | ) | [virtual] |
check if variable associated with this input port has changed directly set input port data
pData | input port data |
Reimplemented in iso::visual::TypedPatchInputPort< DataType >.
void PatchInputPort::connect | ( | PatchOutputPort & | pOutputPort | ) | [virtual] |
connect input port to output port
pOutputPort | output port |
Reimplemented in iso::visual::TypedPatchInputPort< DataType >.
void PatchInputPort::disconnect | ( | ) | [virtual] |
disconnect input port from output port
Reimplemented in iso::visual::TypedPatchInputPort< DataType >.
void PatchInputPort::update | ( | ) | [virtual] |
update input port
Implements iso::visual::PatchPort.
Reimplemented in iso::visual::TypedPatchInputPort< DataType >.
PatchOutputPort* iso::visual::PatchInputPort::mOutputPort [protected] |
/brief output port this input port is connect to