ChirpSim
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
include
robotrepository.h
Go to the documentation of this file.
1
#ifndef ROBOTREPOSITORY_H
2
#define ROBOTREPOSITORY_H
3
4
#include <QObject>
5
#include <QMap>
6
#include <QSharedPointer>
7
8
class
Robot
;
9
15
class
RobotRepository
16
{
17
public
:
22
static
RobotRepository
*
instance
();
23
28
void
addRobot
(
Robot
*robot);
29
35
Robot
*
getRobotFromId
(
unsigned
id
);
36
37
protected
:
38
explicit
RobotRepository
();
39
40
signals:
41
42
public
slots:
43
44
private
:
45
static
RobotRepository
*
_instance
;
46
47
QMap<quint32, Robot*>
_map
;
48
};
49
50
#endif // ROBOTREPOSITORY_H
Generated on Tue Jun 18 2013 18:44:13 for ChirpSim by
1.8.4