Exemplo n.º 1
0
Void CFxLine::GetEndIFxPin(IFxPin** ppIfxPin)
{
	CNode* pNode = (_NodeVector[_NodeVector.size() - 1]);
	CNode* pFirstNode = NULL;
	pFirstNode = CNodeManager::Instance()->GetFirstLink(pNode);
	if(pFirstNode)
	{
		*ppIfxPin = pFirstNode->GetIFxPin();
		return;
	}
	*ppIfxPin = NULL;
	return;
}
Exemplo n.º 2
0
Void CFxLine::GetBeginIFxPin(IFxPin** ppIfxPin)
{
	CNode* pNode = (*(_NodeVector.begin()));
	CNode* pFirstNode = NULL;
	pFirstNode = CNodeManager::Instance()->GetFirstLink(pNode);
	if(pFirstNode)
	{
		*ppIfxPin = pFirstNode->GetIFxPin();
		return;
	}
	*ppIfxPin = NULL;
	return;
}