Last change
on this file was 99, checked in by nguyenhu, 9 years ago |
compilation under linux with 0.2.X framework
|
File size:
1.1 KB
|
Line | |
---|
1 | /*********************************************************************
|
---|
2 | // created: 2012/03/01 - 14:06
|
---|
3 | // filename: Wifibot.h
|
---|
4 | //
|
---|
5 | // author: Pierre Hudelaine
|
---|
6 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
7 | //
|
---|
8 | // version: $Id: $
|
---|
9 | //
|
---|
10 | // purpose: Control the wifibot with the dualshock 3
|
---|
11 | //
|
---|
12 | *********************************************************************/
|
---|
13 | #ifndef WIFIBOT_API
|
---|
14 | # define WIFIBOT_API
|
---|
15 |
|
---|
16 | #include "ps3remote.h"
|
---|
17 | #include "Pacpus/kernel/Log.h"
|
---|
18 | #include "Pacpus/kernel/ComponentBase.h"
|
---|
19 | #include "Pacpus/kernel/ComponentFactory.h"
|
---|
20 | #include "Pacpus/kernel/ComponentManager.h"
|
---|
21 |
|
---|
22 | namespace pacpus {
|
---|
23 |
|
---|
24 | class WIFIBOT_API Wifibot
|
---|
25 | : public QObject
|
---|
26 | , public ComponentBase
|
---|
27 | {
|
---|
28 | Q_OBJECT
|
---|
29 |
|
---|
30 | public:
|
---|
31 | /// Constructor
|
---|
32 | Wifibot (QString name);
|
---|
33 | /// Destructor
|
---|
34 | ~Wifibot();
|
---|
35 |
|
---|
36 | protected:
|
---|
37 | // The 3 virtual methods relative to the ComponentBase inheritance
|
---|
38 | virtual void startActivity();
|
---|
39 | virtual void stopActivity();
|
---|
40 | virtual COMPONENT_CONFIGURATION configureComponent (XmlComponentConfig config);
|
---|
41 |
|
---|
42 | private:
|
---|
43 | PS3remote * dualshock;
|
---|
44 | PacpusUDPSocket * pacpusSocket_;
|
---|
45 | };
|
---|
46 |
|
---|
47 | } // namespace pacpus
|
---|
48 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.