icub-client
main.cpp
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2014 WYSIWYD
3 * Authors: Martina Zambelli
4 * email: m.zambelli13@imperial
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 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13 * Public License for more details
14 */
15 
16 #include <yarp/os/all.h>
17 #include "babbling.h"
18 
19 using namespace std;
20 using namespace yarp::os;
21 
22 int main(int argc, char *argv[])
23 {
24  Network yarp;
25 
26  ResourceFinder rf;
27  rf.setVerbose(true);
28  rf.setDefaultContext("babbling");
29  rf.setDefaultConfigFile("babbling.ini");
30  rf.configure(argc,argv);
31 
32  Babbling mod;
33  return mod.runModule(rf);
34 }
STL namespace.
int main()
Definition: main.cpp:32