Revision: 7357 http://playerstage.svn.sourceforge.net/playerstage/?rev=7357&view=rev Author: natepak Date: 2009-02-25 06:51:03 +0000 (Wed, 25 Feb 2009)
Log Message: ----------- Fixed the blobfinder by adding a MainQuit function. Modified Paths: -------------- code/player/trunk/server/drivers/blobfinder/cmvision/P2CMV.cc Modified: code/player/trunk/server/drivers/blobfinder/cmvision/P2CMV.cc =================================================================== --- code/player/trunk/server/drivers/blobfinder/cmvision/P2CMV.cc 2009-02-24 23:18:20 UTC (rev 7356) +++ code/player/trunk/server/drivers/blobfinder/cmvision/P2CMV.cc 2009-02-25 06:51:03 UTC (rev 7357) @@ -172,6 +172,7 @@ void * data); virtual void Main(); int MainSetup(); + void MainQuit(); void ProcessImageData(); }; @@ -246,13 +247,19 @@ memset(&mData,0,sizeof(mData)); allocated_blobs = 0; puts("done."); + + return(0); +} + +void +CMVisionBF::MainQuit() +{ // Unsubscribe from the camera this->mCameraDev->Unsubscribe(this->InQueue); delete mVision; mVision = NULL; puts("CMVision server has been shutdown"); - return(0); } void This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit