28 indexInPortContexts = -1;
37 return (!
getBase()->getConnectedCables().empty());
46 for (vector<VuoCable *>::iterator cable = connectedCables.begin(); cable != connectedCables.end(); ++cable)
47 if ((*cable)->hasCompiler() && (*cable)->getCompiler()->carriesData())
63 if (dataTypeFromClass)
64 return dataTypeFromClass;
74 this->dataType = dataType;
82 this->nodeIdentifier = nodeIdentifier;
92 if (nodeIdentifier.empty())
93 throw VuoException(
"VuoCompilerPort::setNodeIdentifier() must be called before VuoCompilerPort::getIdentifier().");
103 this->indexInPortContexts = indexInPortContexts;
111 return indexInPortContexts;
136 if (indexInPortContexts < 0)
137 throw VuoException(
"VuoCompilerPort::setIndexInPortContexts() must be called before VuoCompilerPort::generateGetPortContext().");