initConnectionURG.cpp

00001 /*
00002   接続判定の簡易宣言
00003   Satofumi KAMIMURA
00004   $Id$
00005 */
00006 
00007 #include "initConnection.h"
00008 #include <stdio.h>
00009 
00010 
00011 int VXV::initConnection(URGInterface* obj, int argc, char* argv[],
00012                         bool autoCapture) {
00013   int ret_value;
00014   if ((ret_value = obj->connect(argc, argv, autoCapture)) < 0) {
00015     printf("URGCtrl::connect: %s\n", obj->what());
00016   }
00017   return ret_value;
00018 }
00019 

Generated on Mon Apr 13 22:52:05 2009 by  doxygen 1.5.7.1