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

	while ( cursor != NULL )
	{
		asDestRoot = cursor->destNext;
		cursor->destPrev = NULL;
		cursor->destNext = NULL;
		cursor->dest = NULL;
		cursor = asDestRoot;
	}
}
/*-----------------------------------------------------------------------------
Function	RemoveAsDest
                                                                           
Description	Disconnects any links that use this object as their destination.

Input		-

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

Input

Returns
Function RemoveAsDest Description Disconnects any links that use this object as their destination . Input Returns
void MeshLink::RemoveAsDest()
{
	MeshLink
		*cursor = asDestRoot;
	while ( cursor != NULL )
	{
		asDestRoot = cursor->destNext;
		cursor->destPrev = NULL;
		cursor->destNext = NULL;
		cursor->dest = NULL;
		cursor = asDestRoot;
	}
}
void MeshLink :: RemoveAsDest ( ) { MeshLink * cursor = asDestRoot ; while ( cursor != NULL ) { asDestRoot = cursor -> destNext ; cursor -> destPrev = NULL ; cursor -> destNext = NULL ; cursor -> dest = NULL ; cursor = asDestRoot ; } }
Function        RemoveAsDest
Description     Disconnects any links that use this object as their destination.
Function RemoveAsDest Description Disconnects any links that use this object as their destination .