iCub-main
EventListenerCatalogue.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2010 RobotCub Consortium, European Commission FP6 Project IST-004370
3  * author: Arjan Gijsberts
4  * email: arjan.gijsberts@iit.it
5  * website: www.robotcub.org
6  * Permission is granted to copy, distribute, and/or modify this program
7  * under the terms of the GNU General Public License, version 2 or any
8  * later version published by the Free Software Foundation.
9  *
10  * A copy of the license can be found at
11  * http://www.robotcub.org/icub/license/gpl.txt
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details
17  */
18 
19 #ifndef LM_EVENTLISTENERCATALOGUE__
20 #define LM_EVENTLISTENERCATALOGUE__
21 
25 
26 
27 namespace iCub {
28 namespace learningmachine {
29 
31  EventListenerFactory::instance().registerPrototype(new TrainEventListener());
32  EventListenerFactory::instance().registerPrototype(new PredictEventListener());
33 }
34 
35 } // learningmachine
36 } // iCub
37 
38 #endif
iCub
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
Definition: emotionInterface.h:17
iCub::learningmachine::registerEventListeners
void registerEventListeners()
Definition: EventListenerCatalogue.h:30
EventListenerFactory.h
iCub::learningmachine::PredictEventListener
Definition: PredictEventListener.h:39
TrainEventListener.h
iCub::learningmachine::TrainEventListener
Definition: TrainEventListener.h:39
iCub::learningmachine::FactoryT::instance
static FactoryT< K, T > & instance()
An instance retrieval method that follows the Singleton pattern.
Definition: FactoryT.h:86
PredictEventListener.h