speech
Main Page
Related Pages
Modules
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
Functions
Files
File List
•
All
Data Structures
Functions
Modules
Pages
speech-interpreters
start
input
src
main.cpp
1
/*
2
* Copyright (C) 2017 Department of Robotics Brain and Cognitive Sciences - Istituto Italiano di Tecnologia
3
* Author: Vadim Tikhanoff
4
* email: vadim.tikhanoff@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
19
#include "start-speech.h"
20
21
using namespace
yarp::os;
22
23
int
main(
int
argc,
char
* argv[])
24
{
25
/* initialize yarp network */
26
Network::init();
27
28
/* create the module */
29
STARTModule module;
30
31
/* prepare and configure the resource finder */
32
ResourceFinder rf;
33
rf.setDefaultContext(
"start-speech"
);
34
rf.setDefaultConfigFile(
"start-speech"
);
35
rf.setDefault(
"name"
,
"start-speech"
);
36
rf.configure( argc, argv );
37
38
/* run the module: runModule() calls configure first and, if successful, it then runs */
39
module.runModule(rf);
40
Network::fini();
41
42
return
0;
43
}
44
//empty line to make gcc happy
Generated by
1.9.1