icub-client
main.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 WYSIWYD Consortium, European Commission FP7 Project ICT-612139
3  * Authors: Stéphane Lallée
4  * email: stephane.lallee@gmail.com
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  * icub-client/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 "guiUpdater.h"
19 
20 using namespace yarp::os;
21 using namespace yarp::sig;
22 
23 
24 int main(int argc, char * argv[]) {
25 
26  /* initialize yarp network */
27  Network yarp;
28 
29  /* create your module */
30  GuiUpdater g;
31 
32  /* prepare and configure the resource finder */
33  ResourceFinder rf;
34  rf.setVerbose(true);
35  rf.configure(argc, argv);
36 
37  /* run the module: runModule() calls configure first and, if successful, it then runs */
38  g.runModule(rf);
39 
40  return 0;
41 }
42 
43 
int main()
Definition: main.cpp:32