segmentation
All Data Structures Namespaces Files Functions Variables Modules Pages
main.cpp
1 /*
2  * Copyright (C) 2015 iCub Facility - Istituto Italiano di Tecnologia
3  * Authors: Tanis Mar, Giulia Pasquale
4  * email: tanis.mar@iit.it, giulia.pasquale@iit.it
5  * Permission is granted to copy, distribute, and/or modify this program
6  * under the terms of the GNU General Public License, version 2 or any
7  * later version published by the Free Software Foundation.
8  *
9  * A copy of the license can be found at
10  * http://www.robotcub.org/icub/license/gpl.txt
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15  * Public License for more details
16  */
17 
18 #include "dispBlobberModule.hpp"
19 
20 using namespace yarp::os;
21 
22 int main(int argc, char * argv[])
23 {
24  Network yarp;
25  if (!yarp.checkNetwork())
26  return 1;
27 
28  ResourceFinder rf;
29  rf.setDefaultContext( "dispBlobber" );
30  rf.setDefaultConfigFile( "dispBlobber.ini" );
31  rf.setDefault("name","dispBlobber");
32  rf.configure( argc, argv );
33 
34  DispBlobberModule module;
35  return module.runModule(rf);
36 }
37