ML Reference
|
Class to manage an output connection for a Module module. More...
#include <mlConnectors.h>
Public Member Functions | |
OutputConnector (Module &module, MLint index) | |
Constructor: Create output image connection for module module and output index index . | |
virtual | ~OutputConnector () |
Destructor: Destroy this and disconnects connections from all InputConnectors. | |
Module & | getModule () const |
Returns module to which this connector belongs to. | |
MLint | getIndex () const |
Returns output index of of this connector on the Module. | |
MLint | getNumConnectors () const |
Returns number of connected InputConnectors. | |
InputConnector * | getConnector (MLint i) const |
Returns InputConnector with index i . | |
PagedImage & | getImage () |
Returns the paged image of this connector. | |
Friends | |
class | InputConnector |
Permits accesses of inputConnector to this (OutputConnector). | |
Class to manage an output connection for a Module module.
One or more instances of this connector type belong to the Module module thisOp. The number of OutputConnector instances define the number of output images of thisOp. Each instance represents an output image of the Module module and represents the connection with one or more InputConnectors of other Module modules.
Definition at line 46 of file mlConnectors.h.
Constructor: Create output image connection for module module
and output index index
.
|
virtual |
Destructor: Destroy this and disconnects connections from all InputConnectors.
InputConnector * ml::OutputConnector::getConnector | ( | MLint | i | ) | const |
Returns InputConnector with index i
.
PagedImage & ml::OutputConnector::getImage | ( | ) |
Returns the paged image of this connector.
MLint ml::OutputConnector::getIndex | ( | ) | const |
Returns output index of of this connector on the Module.
Module & ml::OutputConnector::getModule | ( | ) | const |
Returns module to which this connector belongs to.
MLint ml::OutputConnector::getNumConnectors | ( | ) | const |
Returns number of connected InputConnectors.
|
friend |
Permits accesses of inputConnector to this (OutputConnector).
Definition at line 108 of file mlConnectors.h.