iCub-main
Loading...
Searching...
No Matches
icub-main
src
modules
learningMachine
include
iCub
learningMachine
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
22
#include "
iCub/learningMachine/EventListenerFactory.h
"
23
#include "
iCub/learningMachine/TrainEventListener.h
"
24
#include "
iCub/learningMachine/PredictEventListener.h
"
25
26
27
namespace
iCub
{
28
namespace
learningmachine {
29
30
void
registerEventListeners
() {
31
EventListenerFactory::instance
().registerPrototype(
new
TrainEventListener
());
32
EventListenerFactory::instance
().registerPrototype(
new
PredictEventListener
());
33
}
34
35
}
// learningmachine
36
}
// iCub
37
38
#endif
EventListenerFactory.h
PredictEventListener.h
TrainEventListener.h
iCub::learningmachine::FactoryT::instance
static FactoryT< K, T > & instance()
An instance retrieval method that follows the Singleton pattern.
Definition
FactoryT.h:86
iCub::learningmachine::PredictEventListener
Definition
PredictEventListener.h:39
iCub::learningmachine::TrainEventListener
Definition
TrainEventListener.h:39
iCub::learningmachine::registerEventListeners
void registerEventListeners()
Definition
EventListenerCatalogue.h:30
iCub
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
Definition
emotionInterface.h:17
Generated on Mon Oct 14 2024 07:24:48 for iCub-main by
1.9.8