src/libYARP_OS/src/mesh.cpp
void MeshLink::RemoveAsSource()
{
	MeshLink
		*cursor = asSrcRoot;

	while ( cursor != NULL )
	{
		asSrcRoot = cursor->srcNext;
		cursor->srcPrev = NULL;
		cursor->srcNext = NULL;
		cursor->src = NULL;
		cursor = asSrcRoot;
	}
}
/*-----------------------------------------------------------------------------
Function	RemoveAsSource
                                                                           
Description	Disconnects any links that use this object as their source.

Input		-

Returns		-
-----------------------------------------------------------------------------*/
Function        RemoveAsSource
Description     Disconnects any links that use this object as their source.

Input

Returns
Function RemoveAsSource Description Disconnects any links that use this object as their source . Input Returns
void MeshLink::RemoveAsSource()
{
	MeshLink
		*cursor = asSrcRoot;
	while ( cursor != NULL )
	{
		asSrcRoot = cursor->srcNext;
		cursor->srcPrev = NULL;
		cursor->srcNext = NULL;
		cursor->src = NULL;
		cursor = asSrcRoot;
	}
}
void MeshLink :: RemoveAsSource ( ) { MeshLink * cursor = asSrcRoot ; while ( cursor != NULL ) { asSrcRoot = cursor -> srcNext ; cursor -> srcPrev = NULL ; cursor -> srcNext = NULL ; cursor -> src = NULL ; cursor = asSrcRoot ; } }
Function        RemoveAsSource
Description     Disconnects any links that use this object as their source.
Function RemoveAsSource Description Disconnects any links that use this object as their source .